WordPress.org

Support

Support » How-To and Troubleshooting » Showing category numbers

Showing category numbers

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you try ‘list_cats’ instead of ‘wp_list_cats’?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing category numbers’ is closed to new replies.