Home › Forums › Backend Issues (wp-admin) › Bidirectional term-to-term relationship › Reply To: Bidirectional term-to-term relationship
I don’t know if that plugin will do what you want or not, first I’ve heard of it.
Ad far as doing this with code it would work in a similar way. The biggest difference would be that anywhere that you’re getting or setting a value, instead of $post_id
you would use 'term_'.$post_id
for the post you want to get or set the value from. The value you’re setting would be the same $post_id
as this would be the term ID for a taxonomy field.
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.