Home › Forums › Add-ons › Repeater Field › Search engine with repeater field and wp_query › Reply To: Search engine with repeater field and wp_query
There isn’t any way, using a query, to associate rows, unless you do 2 or more queries.
First you need to get the posts that have one of them, for example, get all the posts with “T5”. Then you need to get the row index and then do another query for the other field using this row index. Also, you cannot do this second query on more than a single index, so if “T5” does not occupy the same row index on all posts you’ll need to do multiple queries here.
Basically, what you’re trying to do is pretty much impossible using repeaters.
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.