WP_Query not resetting after wp_reset_postdata
If order by RAND is disabled at server level, you can try doing the rand by hand by running the query and get the ids first, then running a new query from the result including x random post ids: $get_all_args = array( ‘fields’ => ‘ids’, ‘posts_per_page’ => 99, ‘order’ => ‘DESC’, ‘orderby’ => ‘modified’, ‘tax_query’ … Read more