Category post count on category archive
How would I go about displaying the post count for a particular category actually *on* the category archive page itself?
I can’t use wp_list_cats because this displays a list of all of the category links plus their post counts. All I want is a simple value so I can incorporate it into my category’s description. For example:
“The category you are currently viewing has 56 articles.”
Something like that. Any ideas? It seems so simple but I can’t find the tag anywhere!
Thanks in advance for any help.
- The topic ‘Category post count on category archive’ is closed to new replies.