taxonomy.php template displaying top-level and second-level terms
-
Hi all,
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:
1. example.com/sports/tennis
Should display all posts tagged with the the top-level term Tennis.
2. example.com/sports/tennis/wimbledon
Should display all posts tagged with second-level term Wimbledon AND posts that are tagged with the top-level term Tennis only
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘taxonomy.php template displaying top-level and second-level terms’ is closed to new replies.