Home › Forums › General Issues › Taxonomy field: display pages associated with terms › Reply To: Taxonomy field: display pages associated with terms
Instead of using two separate things for actor, post type and the taxonomy, you can use the custom field with ACF in movies and set the rules as “Post Type” equal to actor, then you don’t have to enter the actor names twice.
Also querying will become easier, because both of them will be linked to each other.
And then what you can do in the actor page is loop through the movies and use ‘get_field’ to find out which movies a particular actor is connected with.
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.