Home › Forums › Front-end Issues › 2 custom taxonomies with relationship between them › Reply To: 2 custom taxonomies with relationship between them
Hey,
I know this may seem like a bit of a sideways solution, but have you considered using only one taxonomy? For example having a “Locations” taxonomy and then making cities children of their country?
It would make this a ton easier as you can just use the WP query to find posts by parent.
You more than likely have good reason to use multiple taxonomies, sorry if this is not relevant.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.