I am using a taxonomy.php to display a list of posts tagged with terms from a custom taxonomy.
My custom taxonomy is called Sports. I have the following top-level terms: Tennis, Football, Basketball. I have the following second-level terms (parent term being Tennis): Wimbledon, US Open, French Open.
i’d like the following to happen when taxonomy.php is displaying posts:
Should display all posts tagged with the the top-level term Tennis.
Should display all posts tagged with second-level term Wimbledon AND posts that are tagged with the top-level term Tennis only
- The topic ‘taxonomy.php template displaying top-level and second-level terms’ is closed to new replies.