wp_query random post
Doing this in PHP is an awful idea: This page is impossible to cache ordering by random is extremely expensive to query, involving creating temporary database tables, and scans, as it has to copy the entire posts table, then randomly re-order the posts, then finally do the actual query on the new table before destroying … Read more