How to display random post on WordPress
Installing Random Post on Refresh Plugin for WordPress
To install and configure Easy Appointments Plugin, follow these steps:
- Log in to your WordPress site with an administrator account.
- On the Dashboard in the left sidebar, click Plugins, and then click Add New:
- Search for “Random Post on Refresh” click Install, and then click Activate the plugin:
- To display the random post on a page, select and edit the page:
- Add the “[random_post_on_refresh]” short code on the page and save the changes:
- This plugin requires the post to have a featured image. Set the featured image for the posts first to avoid any errors.
- Optionally, you can set which posts to show randomly:
[random_post_on_refresh ids=”37,50,30”] // change the ids to match the post ID to be displayed.
Read more – How to create and publish a site with the Hostvento Website Builder