Random Content

Random Content

توسط

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.

What can you do with it?

  • Rotate testimonials — Show a different customer quote on every page load
  • Randomize banners — Keep sidebar and header promotions fresh without manual updates
  • Cycle CTAs — Test different calls-to-action to see what gets clicks
  • Display tips or quotes — Add variety to any page, post, or widget area
  • Shuffle FAQs — Surface different questions each visit

Free features

  • Display random content anywhere with the [random_content] shortcode
  • Use in posts, pages, sidebars, or widget areas
  • Organize content into groups for separate rotation sets
  • Control how many items display at once
  • Full WordPress editor support — text, images, HTML, shortcodes, embeds
  • Lightweight and fast with built-in caching
  • No coding required

Getting started

  1. Create entries under the Random Content post type
  2. Organize them into Groups (works like categories)
  3. Add [random_content group_id="123"] wherever you want random content to appear

That’s it. Your content rotates automatically on every page load.

Need more control?

Random Content Pro gives you complete control over what visitors see and when they see it:

  • Scheduling — Set start and end dates so content appears and disappears automatically. Run time-limited campaigns without touching your site.
  • Visitor targeting — Show different content based on user role, login status, UTM parameters, referrer, or page type.
  • Frequency controls — Prevent the same item from showing twice in a row. Set cooldown periods between displays.
  • Weighted selection — Assign weights (1–10) to each item. Higher weight = shown more often. Perfect for A/B testing.
  • Display rules — Control visibility per group: logged-in only, specific roles, specific page types.
  • Fallback content — Define what shows when all items are filtered out. Never display an empty space.
  • Automatic updates — Get new features and fixes delivered directly to your WordPress dashboard.

Learn more about Random Content Pro

Shortcode usage

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”]

Widget usage

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.

  1. Upload the random-content folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to Random Content Add New to create your first entry
  4. Organize entries into Groups under Random Content Groups
  5. Place the [random_content] shortcode in any post, page, or widget

سوالات متداول

How do I group entries together?

Create a Group under Random Content Groups, then assign entries to that group. It works just like post categories.

How do I find the group ID?

Go to Random Content Groups in your WordPress admin. The ID is listed in the table.

Can I show more than one item at a time?

Yes. Use the num_posts parameter: [random_content group_id="13" num_posts="3"]. In the widget, enter a number in the “Number of Posts” field.

Can I schedule content to appear at specific times?

Scheduling is available in Random Content Pro. Set start and end dates for any content item, and it will appear and disappear automatically.

Can I show different content to logged-in vs. logged-out users?

Yes — with Random Content Pro. Pro adds visitor targeting based on user role, login status, UTM parameters, referrer domain, and page type.

Can I control how often a specific item is shown?

Random Content Pro includes weighted selection (assign weights 1–10 to each item) and frequency controls (prevent the same item from showing consecutively).

What does the ajax parameter do?

By default, content is rendered server-side with the page for the best performance. If your site uses full-page caching (e.g., WP Super Cache, W3 Total Cache, or a CDN), the random content may get cached and stop rotating. Add ajax="yes" to load content dynamically after the page loads, bypassing the cache: [random_content group_id="64" ajax="yes"].

Will this slow down my site?

No. Random Content uses efficient PHP randomization and built-in transient caching. No extra database queries on the front end beyond what’s needed.

Does Random Content Pro require the free version?

No. Random Content Pro is a standalone plugin that includes everything from the free version plus all Pro features. If you have the free version installed, deactivate it before activating Pro.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
هیچ نسخه‌ای برای این آیتم موجود نیست.
★★★★★
★★★★★
4.9 /5 (34 نظر)

قیمت:

رایگان

نگارش

آخرین انتشار

12 اردیبهشت 1405

آخرین بروزرسانی

2 ماه پیش

نصب های فعال

3,000+

نگارش وردپرس

وردپرس 5.0.1+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

-

نسخه ها

0 نسخه