Home › Forums › General Issues › Bidirectional relationship › Reply To: Bidirectional relationship
Thank you for the script John!
In fact, I have a thesaurus build with (CM Tooltip glossary premium), where we can find simple concepts, best practices, and actions. They’re all of the same type, only their taxonomy is different. Say I want to link a best practice to a concept. The name of the relation is “acf_reciprocal_relationship”. The field is used in two group fields, and the title of the field is “Test”.
1. I put the script in the functions.php theme’s file and I uploaded it.
2. I went to ACF 4, and created a new standard relationship named “acf_reciprocal_relationship”.
3. In a concept edit page I selected two best practice and I published the post.
4. I refreshed then the associated best practice edit page: nothing shows up. I can’t see any relationship (the field is empty). 🙁
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.