WordPress Query Random Posts

https://wordpress.org/support/topic/query_posts-display-a-random-post-from-the-most-recent-5-out-of-10-posts