Relevanssi – Wildcard for Search Terms
-
Hello!
I am using the Relevanssi – A Better Search Plugin.
I am working on a site search that uses a location dropdown (location is a category attached to a custom post type).
The default selection of the dropdown is ‘any’ and that works great, as long as they enter a search term.
The issue arises if someone skips the search terms and just uses the dropdown. This leads to a 404 page, because the search term is NULL. I am expecting to get everything returned, instead I get nothing.
Is there a wildcard character that I can send instead that will return everything, so that the drop-down filter can do its thing?
Thanks for the help!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Relevanssi – Wildcard for Search Terms’ is closed to new replies.