Forums › Forums › Search & Filter Pro › short code doesn't show results for text search
Tagged: shortcode
- This topic has 12 replies, 2 voices, and was last updated 5 years, 3 months ago by Trevor.
-
Anonymous(Private) August 26, 2019 at 10:29 pm #219683
Hello,
We have implemented search and filter on a page with the shortcode for the filter options and a shortcode for the results. When using a filter option from a multi-select (for example selecting a location from a list of 5 options) it works great – we get results on the same page! But when the user types a value into the “Search…” text box, we get get “No Results Found” every time.
Any ideas on how to solve this issue? We really want to get free text searching working with results on the same page.
Thanks!
Trevor(Private) August 28, 2019 at 12:17 pm #219821I believe the issue will be the WP Extended Search plugin.
Instead, can you consider using the Relevanssi plugin. See our guide for that here:
https://searchandfilter.com/documentation/3rd-party/relevanssi/
You should also switch off the Force is_search setting in the Advanced Settings of the form.
Anonymous(Private) August 28, 2019 at 1:38 pm #219840Thanks for the idea! I’m not sure that’s the problem, as the searching works fine if the results page is an archive, rather than a short code on the same page.
Regardless, I installed the Relevanssi plugin, activated it, waited for indexing to complete and tested again. Unfortunately the problem remains – still getting No Results Found on the search page.
Any other ideas?!
Anonymous(Private) August 28, 2019 at 3:06 pm #219861Thanks for the follow up suggestion!
Unfortunately, after switching the theme to TwentySixteen the problem remains. Still getting a page that says “No Results Found” when using the search box.
Could it have something to do with the fact that it’s searching Custom Post Type? (even if so, I’m confused as to why it works for the filter selection from the multi-select but not for the free text search).
Other ideas?
-
AuthorPosts