WordPress.org

Forums

Showing category numbers (3 posts)

  1. shadow
    Member
    Posted 10 years ago #

    I have done a search but still cannot find the answer.
    I thought if I used the following parameters, the amount of posts in a category would show up next to the category list. However, it does not appear to be working for some reason. It works on my other sites but not on my latest using 1.3a5
    <?php wp_list_cats(0, 'All', 'name', 'asc', '',1,0,1,1); ?>
    Can anyone help me out with this?

  2. salami
    Member
    Posted 10 years ago #

    Did you try 'list_cats' instead of 'wp_list_cats'?

  3. shadow
    Member
    Posted 10 years ago #

    Thanks for the suggestion Salami...
    That adds the numbers but it drops the children categories from the parent.
    Thanks for the suggestion though :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.