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 use hierarchical custom taxonomies with attachment post types, and am trying to display a hierarchical terms list with the pad_counts argument set to 1 but children counts are not added to parent's.

I've tried several combinations of hierarchical, hide_empty, pad_counts and show_count arguments, but none of them seem to work; the counts returned by the wp_list_categories() function are always wrong.

Any idea how I can solve this issue? Thanks for helping.

share|improve this question

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.