
Random Gallery lets you display a different subset of your images every time your page is refreshed. Just tell it which ones you want it to pick from and how many you want to show at a time.
Random Gallery works with an old fashioned shortcode. You specify the pool of images with the ids or category parameter. Then you specify how many you want to show with the shownum parameter.
Here’s an example of the ids method:
[random-gallery ids='101,102,103,104,105' shownum='3']
Note there are five images in the list but only three will be shown at a time.
And here is an example of the category method:
[random-gallery category='myCategory' shownum='3']
Random Gallery can handle the ordinary Gallery shortcode parameters columns, size, and link:
[random-gallery category='myCategory' shownum='3' columns='1' size='medium' link='none']
You can put shortcodes in all kinds of blocks, but it’s best to use the shortcode widget.
The ids parameter is the list of images you want to draw from. To build up the list, you need the numbers that WordPress assigns to each of your images.
There are plugins that let you see these numbers directly in the Media Library. Try searching the plugins directory for “reveal ids”.
Otherwise, you can find them manually:
By default, categories are not available in the Media Library. However, there are plugins that will enable them. Try searching the plugins directory for “media library categories”.
Once you have categories enabled, you can create a category, add images to it, and specify it in the shortcode by name.
One tricky thing to watch out for is curly quotation marks. WordPress likes to replace straight quotes (') with curly quotes (‘). This is usually a good thing, but Random Gallery can only handle straight quotes.
The easiest and best way to make sure you’re only using straight quotes is to put your shortcode in a shortcode widget, then re-type all the quotes directly in the widget.
I hope Random Gallery works for you. If you have any trouble, just shoot me an email. Thanks!
Starting from $0 per month.
Rating
Reviewers
11 reviews
Tags
Developed By
david-g
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Use a support form that lets customers submit tickets, saves each request, sends notifications, and helps you manage support more efficiently.

Show Mastodon posts in a live Mastodon feed that keeps content fresh, strengthens your social presence, and helps visitors engage with your updates.
Use a live weather forecast widget to show current conditions and upcoming predictions, giving visitors real time local weather updates for better planning.
Show posts in an X feed that keeps updates visible, improves content discovery, and helps visitors stay engaged with your latest activity.
Show alerts and updates with a notification popup that grabs attention, delivers important messages, and improves user experience.
Create interactive polls with a poll widget that gathers real time feedback, boosts engagement, and helps you understand visitor opinions quickly and clearly.
Use a payment button for secure PayPal or Stripe checkout to simplify online payments and help increase sales.
Show LinkedIn posts in a live feed that keeps updates current, builds credibility, and helps visitors engage with your brand.
Create interactive quizzes with a quiz maker that lets you build custom questions, collect responses, and increase engagement with easy site integration.
Display and manage customer reviews from multiple platforms in one place to build trust and highlight brand credibility.
Present your team with a structured team member list that builds trust, supports credibility, and helps visitors connect with the people behind your brand.
Add social media and RSS feeds to your site to display fresh content, grow your online presence, and keep visitors engaged with real time updates.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
