Home › Forums › Backend Issues (wp-admin) › Query relationship values with Relevanssi › Reply To: Query relationship values with Relevanssi
Hi Elliot,
Thanks for your response! Basically the site deals with books. Previously authors were a separate post type and were attached to books via a relationship picker. Something went wrong with the permalinks which I’ve been unable to fix which means that I’ve now moved the author information onto the books pages. However, the information about the author(s) (e.g.: bio) is still saved as a separate post type.
The issue is that you can’t search by author name and bring up the relevant books, I presume because, unlike other text fields for example, the relationship picker present different information.
Do you know of a way to force Relevanssi (which I’m using in order to factor in various ACF custom fields) to search the post titles (in this case author names) selected in the relationship field rather than the numerical IDs assigned?
Thanks very much!
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz
— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.