Code

How to Display Random Posts from Different Categories using WP_Query

Sometimes you want to mix things up a little when displaying posts on your site, maybe by making the list random instead of just showing the last five posts like every other site in town. The great news is that if you add a custom query to your page using the WP_Query class, you can do this by using a special argument that will randomise your posts. And what if you want...

Read More