WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know it is $term[0]->count;

However, my terms are placed in the custom menu plugin. My terms are currently structured as


How do I append the term count of each term? I have been searching all over and haven't found a solution. My output should be:


I am still at a lost on how to approach this. So any help will be appreciated.

EDIT: If someone knows where to find the file for the custom menu widget, I think I can edit its output.

share|improve this question
Which 'custom menu plugin' are you using? – cybmeta Sep 12 '13 at 10:52
The wordpress default. EDIT: Sorry, it's a widget. – user1526570 Sep 12 '13 at 10:52
The default WordPress widgets are located in the \wp-includes\default-widgets.php file. Any changes you make to the file will be overwritten each time WordPress updates. – Charles Clarkson Sep 15 '13 at 6:34

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.