Home › Forums › General Issues › Bi-Directional Relationship repeater fields › Reply To: Bi-Directional Relationship repeater fields
I have been looking at and thinking about this and to be honest I don’t see any way within WP and ACF to do what you’re looking for.
If I had to do this I would likely abandon the idea of having bidirectional relationship fields. Instead I would store the information in a way that would make it easier to do a reverse relationship lookup.
See my most here https://acfextras.com/dont-query-repeaters/
In this case I would create a standard WP field that held every relationship (post ID) added to the post where your repeaters are located. Then I could use this single post mata field to do the reverse 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.