Random Content

plugin banner

Randomly display content from a custom post type using a widget.

Author:Endo Creative (profile at wordpress.org)
WordPress version required:4.0.1
WordPress version tested:6.2.1
Plugin version:1.4.1
Added to WordPress repository:19-10-2012
Last updated:16-05-2023
Rating, %:96
Rated by:32
Plugin URI:https://www.endocreative.com
Total downloads:42 870
Active installs:4 000+
plugin download
Click to start download

This plugin allows you to display random content anywhere on your site using a shortcode or widget. You can group your random content together, allowing you to display different content in multiple locations throughout your site.

The content is added via a custom post type, so you have full access to the tinyMCE editor. This allows you to easily add images, text, and links to your random content.

Using a widget

  1. Navigate to Appearance->Widgets and add the Random Content widget to a sidebar.
  2. Select a group from the dropdown. If you don’t create a group, the widget will use all entries.

Using a shortcode

Place the shortcode [random_content] anywhere on a post or page.

To choose entries from a specific group, add the group_id parameter. For example, [random_content group_id="64"].

To specify the number of posts to show, add the num_posts parameter. For example, [random_content group_id="13" num_posts="3"].


Screenshots
FAQ
ChangeLog