0

Is there a way to maintain a /country/state/city/ hierarchy in the URL structure when country, state, and city are all individual custom taxonomies?

lcm
  • 1,727
  • 6
  • 17
  • 37
  • A taxonomy can have a custom static “parent” but I don’t believe that there is a native or even programmatically simple way to do this dynamically with terms. Instead, I’d look at the `template_include` hook. [This answer](https://stackoverflow.com/a/67305267/231316) goes into greater detail towards the bottom. – Chris Haas Jul 11 '21 at 12:52

0 Answers0