Forums Forums Search & Filter Pro Alphabetise results and redirect empty search

Viewing 3 posts - 11 through 13 (of 13 total)
  • Trevor
    #154891

    That means that your theme is modifying the sort order of the query, possibly by using pre_get_posts(), maybe in the template.

    Anonymous
    #154897

    I can’t find that in archive.php. Is there a way to override it and sort alphabetically?

    Trevor
    #154905

    It is likely to be buried in the theme somewhere. If it is a paid theme, the author might be able to tell you. The other way is to create an actual search results page, use the archives template on it, but use our Custom Display method and use the pre_get_posts method, as shown here:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/custom/#pre_get_posts

    It does require some coding though.

Viewing 3 posts - 11 through 13 (of 13 total)