Display total number of parent categories with particular tag
-
Is there a way to display the total number of all parent categories from posts that have a particular tag assigned (no custom taxonomy).
I read on several sites this would be possible by using WP_Queries. Unfortunately I am not that good in PHP to understand the syntax.
In words it should be: Count all parent categories of posts with with tag=’XYZ’
- The topic ‘Display total number of parent categories with particular tag’ is closed to new replies.