Forums

how to add category count number in almost spring theme (7 posts)

  1. lcguy
    Member
    Posted 5 years ago #

    Hello,

    I am currently using almost-spring themes and I do not know how to add category list like in "connection" themes.

    Although I add "optioncount=1" in sidebar.php, counted number appear just below category name instead of beside it.

    I think it is becasue of something need to change in style.css but I don't know how???

    Please let me know how to change.

    Regards,
    Jon

  2. Chris_K
    Member
    Posted 5 years ago #

    A link to your blog would be very helpful.

    A lot of the folks here will just pop over to your blog, pull the CSS and have a look at what that theme's up to and, hopefully, offer a suggestion.

  3. lcguy
    Member
    Posted 5 years ago #

    Hi,
    Many thanks for your reply. Since my site is in intranet, you can't reach.

    Can I send as an attachemt of my site and CSS to you?

    Best regards,
    Jon

  4. drursi08
    Member
    Posted 5 years ago #

    BUMP! I have the same question.

    My blog is here: http://www.sevenstripes.com/blog

    Any help would be much appreciated!

  5. drursi08
    Member
    Posted 5 years ago #

    double bump

  6. drursi08
    Member
    Posted 5 years ago #

    triple bump? sorry for spamming.

  7. dwt157
    Member
    Posted 5 years ago #

    Here's what worked for me.

    1. Place 'optioncount=1' in wp_list_cats in sidebar.php (so it becomes <?php wp_list_cats('optioncount=1'); ?>
    2. In the stylesheet/css file, comment out or remove
    "display: block;" in #sidebar ul ul li a { }
    3. Add "display: inline;" to #sidebar ul ul ul li a { }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags