Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How to add postcounts behind every category which are added in the standard wordpress menu? Like this:

  • Apples (3)
  • Strawberries (7)

Do i need to add some code in functions.php to achieve this? Which code exactly?

Please help!

share|improve this question
What do you refer to by "standard wordpress menu"? Are we talking front- or backend? If the earlier, what theme? Please include relevant, adaptable code, if possible. –  Johannes Pille Sep 22 '13 at 21:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.