[resolved] Show Category count in sidebar (3 posts)

  1. realworldworkflow
    Posted 9 years ago #

    I am looking for a plugin that will display in parenthesis the number of posts in a category next to the category listing in my sidebar links. Any suggestions?

  2. MichaelH
    Posted 9 years ago #

    Don't need a plugin--the template tag, wp_list_categories, with the parameter show_count=1 in your theme's sidebar.php file will do that.

    Also, as of 2.2, if your theme is widgetized, the Category widget allows you to specify that the count be displayed.

    See also:
    Stepping into Templates
    Stepping into Template Tags

  3. realworldworkflow
    Posted 9 years ago #

    Michael, thanks for answering my very novice question.

Topic Closed

This topic has been closed to new replies.

About this Topic