WordPress.org

Ready to get started?Download WordPress

Forums

Display total number of parent categories with particular tag (1 post)

  1. Bartmus
    Member
    Posted 1 year ago #

    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'

Topic Closed

This topic has been closed to new replies.

About this Topic