by Jeremy Green on WordPress.org
Display random content anywhere on your WordPress site. Rotate testimonials, banners, CTAs, and more with a simple shortcode or widget.

Adding the widget to a sidebar.
Random Content is the easiest way to keep your WordPress site feeling fresh and dynamic. Create content groups, add as many items as you want, and display a random selection anywhere on your site with a single shortcode or widget.
Every time a visitor loads the page, they see something different. That means higher engagement, more clicks, and a site that never feels stale.
[random_content] shortcode[random_content group_id="123"] wherever you want random content to appearThat’s it. Your content rotates automatically on every page load.
Random Content Pro gives you complete control over what visitors see and when they see it:
Learn more about Random Content Pro →
Display a random item from all entries:
[random_content]
Display from a specific group:
[random_content group_id=”64″]
Display multiple items at once:
[random_content group_id=”13″ num_posts=”3″]
Load content via AJAX (useful for sites with page caching):
[random_content group_id=”64″ ajax=”yes”]
Navigate to Appearance → Widgets, add the Random Content widget to any sidebar, and select a group from the dropdown. Leave the group empty to pull from all entries.