I have a website on which I'm using a view with 3 dropdown filters, one for each category of my custom post type, plus one search box ([wpv-filter-search-box]). The thing is, the search box seems to be looking only in the title and content of my post, but not in the categories. So let's say I have category called "Document Type" and I set the filter to "Contracts", I get all the posts with "Contracts" as a term. But if I write "contracts", the search returns only posts that have the word "contracts" in either title of content. Is there a way for me to include category and terms in the search box results?
The text search filter can only search through the Post Title and Post Content. Additionally custom fields can be searched through if you have the Relevanssi plugin installed.
The only way to perform a search through the categories as well is to combine the text search with the separate taxonomy filter for your frontend filters.
Once you installed the relevanssi plugin you will then need to remove your existing text search and then re-add it.
Upon re-adding the text search filter you should be presented with 3 options, one of which will include the ability to have the custom fields as a part of the search filter.
Are you not seeing this option ? If so would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?
Please where applicable please provide me with a link to an example page where I can see the issue.
I've enabled the private fields for your next response.