Forums Forums Search & Filter Pro Randomize Search Results

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #155994

    Hi team!

    My client would like me to randomize the search results. Does anyone have any tips and tricks as to how I can tweak results.php to present the search results in a random order each time the results are displayed?

    Many thanks in advance!

    Michelle

    Anonymous
    #156010

    Just an update here.

    I realize that I can add “Sort Order” field to the search form but:
    1. I do not want to give the users the option to choose
    2. I want the default sort order to be random.

    Thanks! 🙂

    Trevor
    #156042

    In the Form Settings, go to the posts tab. In the sort options you can choose random. BEWARE though. WordPress will randomly select posts for EACH page, and so you may see the same post on more than one page. It re-randomizes the posts on each change of page in the pagination.

    Anonymous
    #156077

    I completely missed that option!

    Thanks again for your awesomeness!

    This topic can now be closed.

    Michelle

Viewing 4 posts - 1 through 4 (of 4 total)