Forums Forums Search & Filter Pro short code doesn't show results for text search

Tagged: 

Viewing 10 posts - 1 through 10 (of 13 total)
  • Anonymous
    #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!

    Anonymous
    #219684

    should also mention that if we switch the “results” to use an “archive” page instead of the short code, we do get the appropriate results. so it has something to do with the shortcode showing results on the same page for the search string.

    Trevor
    #219726
    This reply has been marked as private.
    Anonymous
    #219741
    This reply has been marked as private.
    Trevor
    #219821

    I 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
    #219840

    Thanks 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?!

    Trevor
    #219844

    Your theme must have some custom code that is doing this. As this is a simple page, what happens if you switch the theme to a simple one like TwentySixteen?

    Anonymous
    #219861

    Thanks 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?

    Trevor
    #219867

    In the setup for the Custom Post Type, is it excluded from searches?

    Anonymous
    #219883

    no, it is not excluded

    			
    'exclude_from_search' => false,
    'publicly_queryable'  => true,
    
Viewing 10 posts - 1 through 10 (of 13 total)