WordPress plugin
Random Content Pro
Random Content Pro is a standalone WordPress plugin for displaying changing content around your website. Create entries with the Random Content post type and WordPress editor, then group them into separate rotation sets. Entries can contain text, images, HTML, shortcodes, and embeds. Groups work like categories and can hold testimonials, promotions, calls to action, tips, quotes, or frequently asked questions.
Organize content for rotation
Random Content Pro is a standalone WordPress plugin for displaying changing content around your website. Create entries with the Random Content post type and WordPress editor, then group them into separate rotation sets. Entries can contain text, images, HTML, shortcodes, and embeds. Groups work like categories and can hold testimonials, promotions, calls to action, tips, quotes, or frequently asked questions.
Set eligibility and selection
Schedule individual entries with start and end dates. Visitor targeting can use user role, login status, UTM parameters, referrer, or page type. Group display rules can limit visibility to logged-in users, specific roles, or specific page types.
- Frequency controls can prevent the same item from appearing twice in a row and set cooldown periods between shows.
- Assign each entry a weight from 1 to 10; higher-weight entries appear more often.
- Choose fallback content for cases when filtering removes every available entry.
Place a selection with a shortcode or widget
Use the [random_content] shortcode in posts, pages, sidebars, or widget areas. Add a group ID to select from a specific set, or use num_posts to show several entries. For example, [random_content group_id="13" num_posts="3"] displays three entries from a group.
When full-page caching or a CDN keeps the same server-rendered selection visible, add ajax="yes" to load content dynamically after the page loads, as in [random_content group_id="64" ajax="yes"].
You can also add the Random Content widget under Appearance → Widgets, select a group, and set the number of entries to display. Leave the group empty to draw from all entries.
Set up the rotation
- Create entries under the Random Content post type.
- Create groups under Random Content → Groups and assign entries to them.
- Place a shortcode in a post, page, or widget area, or add the Random Content widget.
- Configure schedules, targeting, frequency, weights, display rules, and fallback content as needed.
Random Content Pro is standalone, includes the core random content functions, and does not require the free version. If the free version is installed, deactivate it before activating Pro. Automatic updates deliver functions and fixes through the WordPress dashboard.
