I’d like to add a line of text to the archive page when people browse by category that says “There are X posts in this category”. How do I find out how many posts are in a category?
I’ve looked through the forums, I’ve looked through the codex, to no avail. I know it’s possible because the number shows up on the category admin panel, but I can’t figure out how it’s done.
- The topic ‘How to find the number of posts in a category’ is closed to new replies.