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 want to show post count for all child categories shown, but not for their parent categories. Or, since there are only 3 parent categories, this exclusion could be per category id.

Is there a way to do that?

Also, unfortunately, the number doesn't come wrapped in any element, so I can't think of any way of hiding it CSS wise.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Check out this post. It shows you how you can wrap the count with any element you'd like so that you can manipulate it as you see fit.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.