Random Gallery

plugin banner

Random Gallery lets you display a random selection of photos from an arbitrarily large list.

Author:David Greenwold (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:4.4
Plugin version:00.02
Added to WordPress repository:23-03-2015
Last updated:09-12-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:96
Rated by:4
Plugin URI:
Total downloads:1 737
Active installs:100+
plugin download
Click to start download

Give Random Gallery a list of photos and a number. It will pick that number of photos randomly from your list and send them off to a normal gallery. It works great with Jetpack's Tiled Galleries.

The easiest way to use Random Gallery is to insert a normal gallery into your page. Be sure to select all of the photos you want Random Gallery to draw from. In the editor, you'll see something like this:

Then, all you have to do is change "gallery" to "random-gallery" and add shownum to the end, like this:

[random-gallery ids="1,2,3,5,8,13,21" shownum="3"]

You can also use the standard WP Gallery options: type, columns, size, and link.

In this example, there are seven photos in the list, but only three will be shown at a time.

There's nothing too fancy under the hood, so Random Gallery is pretty much future proof. Check it out and let me know what you think. Thanks!