No "Relevance" option for "Sort Order"

Forums › Forums › Search & Filter Pro › No "Relevance" option for "Sort Order"

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #183114

    I have Relevanssi enabled and sort by relevance enable.

    I would like to add a ‘Sort Order’ popup with additional sorting options, but there is no ‘Default’ / ‘Relevance’ option available to list. If a user selects another order, they won’t be able to return to default without resetting.

    Is there a way to enable relevance as a Sort Order value?

    Trevor
    #183131

    This is not an option in the current version of the plugin. In our Advanced options for Relevanssi, it is a predetermined option you can select, but only applies to text searches, so not to any other field.

    Relevance is not an option/argument that can be passed to the wp_query, so we cannot offer it as a front end user option in a form.

    Anonymous
    #183378

    Thank you for the reply.

    If the Sort Order is left on it’s default setting, is that sorting by relevance? Or does adding a Sort Order option change the default so that the advanced Relevanssi setting is overridden?

    Trevor
    #183414

    If sort order is left at default, the results should be sorted by relevance, when a text value is in the search. Otherwise, the default is the WordPress default order, which is by date descending.

Viewing 4 posts – 1 through 4 (of 4 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.