WordPress.org

Support

Support » Plugins and Hacks » Category Post Totals

Category Post Totals

  • Hi – I am looking for a simple plugin or code that will display the total number of post in each of my listed categories. How can this be done? Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • There are a bunch of arguments that can be passed to the function that displays the category information. I use:

    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?>

    to display sub-categories and counts, sorted by name.

    Yes, that did it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category Post Totals’ is closed to new replies.