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.

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

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

Parent
  Child
Parent
  Child

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:

Parent(2)
  Child(1)
Parent(5)
  Child(2)

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

 
discard

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

Browse other questions tagged or ask your own question.