• 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)
  • Thread Starter thirstcard

    (@thirstcard)

    Just to clarify point 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 – i.e. have no second-level terms)

    Looking forward to your help!

    Thread Starter thirstcard

    (@thirstcard)

    Anyone have an idea how I could do this?

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.