Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro General search function not working

Viewing 10 posts - 1 through 10 (of 14 total)
  • Alexandra Wilk
    #153653

    Hello,

    The search appears to be able to search via category, tag, post type and custom field.
    However the general search box where you simply type key words does not work.

    Please could you help me solve this issue?
    The site is: http://smartthinking.staging.wpengine.com/

    Many thanks,

    Alex

    Trevor Moderator
    #153850
    This reply has been marked as private.
    Alexandra Wilk
    #155970
    This reply has been marked as private.
    Trevor Moderator
    #156416

    Hi

    I didn’t get an earlier reply, so something must have gone wrong with that, sorry.

    I see that you use WP Engine, which gives me an idea.

    There is a setting to override a feature of WP Engine hosting, that truncates long SQL queries (which ours are). Edit the site wp-config.php file and add this at the top, after line 1 (on a new line 2):

    define('WPE_GOVERNOR', false);

    (also see here for another related support note about this – https://support.searchandfilter.com/forums/topic/killed-query-errors-in-log/#post-64826)

    I would just say though, that rather than adding this in blindly, to research and make sure this setting doesn’t adversely affect anything in your site.

    Trevor Moderator
    #156419

    Looking at your setup:

    https://screenshots.firefox.com/oQyiv1YCCZ4aLS4S/smartthinking.staging.wpengine.com

    These two settings are to be used only if Relevanssi plugin is installed, and I do not see it, so that is more likely the cause. Either install Relevanssi and refer to our documentation here:

    https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/

    OR uncheck those two options.

    Alexandra Wilk
    #157113

    Hi Trevor,

    Thanks so much, it appears that Relevanssi was indeed causing the problem. The search works now I have unchecked those options.

    Thank you!

    I’m not sure whether this is beyond your support service, but I am also trying to hide and show the filter options using Jquery toggle class on click of ‘advanced search’.

    This works fine, except for the fact that once the item is selected from the dropdown menu, the fields hide again. I would like them to stay visible until the ‘advanced search’ button is clicked again.

    I realise this might be a jquery question rather than a plugin one, but I wonder whether the classes change when the filter options are selected? Or if there is way you normally recommend to do this?

    Thanks so much,

    Alex

    Trevor Moderator
    #157116

    Are you using Ajax to reload the results? A page reload without Ajax would cause what you see. If Ajax is in use (with the option to use it only on the result page), you might get what you want.

    Alexandra Wilk
    #157128

    Hi Trevor,

    I wasn’t using ajax no… now I am, and I have de-selected ‘Only use Ajax on the results page?’ but it does not seem to make any difference…

    Alexandra Wilk
    #157341

    Dear Trevor,

    I have a separate question that I hope you might be able to help with:

    When I search for a keyword, I get ‘Search results for: $keyword’
    However when I use the filter drop downs, the search results page does not display what was searched for.

    How can I add this functionality?

    Thanks for your help,
    Alex

    Trevor Moderator
    #157347

    In the current version of our plugin, it will some coding on your part. Our documentation is here:

    https://www.designsandcode.com/documentation/search-filter-pro/accessing-search-data/

    We plan to make this much easier in the next major version (V3).

Viewing 10 posts - 1 through 10 (of 14 total)

The topic ‘General search function not working’ is closed to new replies.