Do you want to order your search results in random order? Here’s how: add_filter( ‘relevanssi_hits_filter’, ‘shuffle_search’ ); function shuffle_search( $hits ) { shuffle( $hits[0] ); return $hits; } Add this function to your site and the search results will appear in random order. You can also do this: add_filter( ‘relevanssi_modify_wp_query’,……function ( $query ) { $query->set( ‘orderby’, ‘rand’ ); return $query; } However, both of these solutions only work if all the search results are on the same page. If the results span multiple pages, they will be shuffled between page switches, and the second page can have results from……the first page on it, and some posts may never appear in results. Here’s a more complicated solution that solves the issue by setting the random number generator seed every hour. Searches within that hour will return the results in the same order. This means pagination will work (unless the…