Home › Forums › General Issues › Extending Search functionality in Relationship field to include post body › Reply To: Extending Search functionality in Relationship field to include post body
Hi, Elliot.
I have WP Custom Fields Search plugin installed – it is an exellent solution to search content from the front-end not only in Post Title or Post content, but all other custom fields.
Unfortunately in back-end AJAX search for Relationship field is searching only Post Title, not even Post Content, as SnitchHomer said.
Is it possible to do some customization to make search possible not only by Title, but by Body and all (or some) text custom fields?
For example we have such structure:
1. Movie post type
2. Actor post type
In Movie custom fields I have Actors realtionship field, that helps me to choose actors, that cast in the movie.
Each Actor have additional Custom Fields, like Original name, Nickname and other Text Fileds, that helps me to quckly search actors database.
It will be great if I can search Actors not only by their Name, but also any of Custom Fields.
I would be grateful for any help.
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.