Home › Forums › Backend Issues (wp-admin) › Query relationship values with Relevanssi › Reply To: Query relationship values with Relevanssi
Hi @robpinney
This is a great question, and one which i’m sure is possible, but one that I have no idea how.
My first though is one which has 2 parts:
1. Filter query
If you searched for ‘Elliot Condon’, find the post with this title (the bio post). Now you have an id of 123. Use this ID to modify the search parameter so that your search is for 123 (maybe you can target this as a meta_query only?).
This should hopefully find books that have an author of 123.
2. Filter the results
If the above query works, then you can swap out ‘123’ for ‘Elliot Condon’ and your results should read correctly.
This will be pretty complex and will require a lot of debugging and searching through source code, but it’s worth a shot.
Also, I would ask the guys over at Relevanssi what their thoughts are.
Cheers
E
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.