Home › Forums › General Issues › Dynamically link 2 CPT through a common taxonomy › Reply To: Dynamically link 2 CPT through a common taxonomy
So, while it may look like the same taxonomy, the terms added under Project and the terms added under People are not the same terms. They used to be in the past but this was changed in WP 4.2
So, as an example of what you need to do. Let’s say that you are showing a single “Project” post. You need to get the “City” term(s) associated with the project and then do a WP_Query() to get the posts from “People” using a tax_query.
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.