How to Display Random Posts in WordPress

In this post, we will be seeing how we can easily display random posts in WordPress without meddling with any code and getting our hands dirty.

Step 1 – Install and activate the Advanced Random Posts Widget plugin by Theme Junkie from WordPress.org plugin repository.

Step 2 – Once activated, visit Appearance –> Widgets page and have a look at the Available Widgets section to find the Random Posts widget.

Random Posts Widget

Step 3 – Now you will need to add this widget to your website’s sidebar.

Step 4 – Once you have added it to the sidebar, you can customize the widget. But the default settings should work perfectly in most of the cases.

Step 5 – Hit the Save button!

Advanced Random Posts Widget Settings

This plugin also offers a wide range of customization options. You can select different post types, show excerpts, display thumbnails, skip posts you don’t want to be displayed and also display posts from specific tags or categories.

Thus I hope this article helped you in learning how to display random posts in WordPress. You may also want to see how to serve compressed emoji in WordPress.

2 thoughts on “How to Display Random Posts in WordPress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s