Title: Random Gallery
Author: David G
Published: <strong>Ẹrẹ́nà 23, 2015</strong>
Last modified: Igbe 2, 2023

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/random-gallery/assets/banner-772x250.png?rev=1130434)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/random-gallery/assets/icon-256x256.png?rev=1130541)

# Random Gallery

 Láti ọwọ́ [David G](https://profiles.wordpress.org/david-greenwold/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/random-gallery.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/random-gallery/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/random-gallery/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/random-gallery/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/random-gallery/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/random-gallery/)

## Àpèjúwe

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.

#### The Basics

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Ìtumọ̀ Yorùbá: ’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Ìtumọ̀ Yorùbá: ’s best to use
the shortcode widget.

#### ids method details

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:

 * open up your Media Library
 * click on a photo
 * the Attachment Details will pop up
 * the URL in your address bar will look like this: `https://www.example.com/wp-
   admin/upload.php?item=101`
 * take the number at the end of the URL (in this case 101) and add that number 
   to `ids`
 * repeat this process for each photo you want to include

#### category method

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.

### Curly Quotes Issue

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Ìtumọ̀ Yorùbá: ’re only using straight 
quotes is to put your shortcode in a shortcode widget, then re-type all the quotes
directly in the widget.

### Thanks

I hope Random Gallery works for you. If you have any trouble, just shoot me an email.
Thanks!

## Ìgbéwọlẹ̀

You can add Random Gallery directly from your WordPress dashboard Plugins page or
you can download random-gallery.php and put it in the wp-content/plugins/ directory
of your WordPress installation. Either way, make sure you activate it from the Plugins
page.

## FAQ

### What if I have a question?

IÌtumọ̀ Yorùbá: ’d be happy to help!
 [randomgallery@greenwold.com](https://yor.wordpress.org/plugins/random-gallery/randomgallery@greenwold.com?output_format=md)

### What if I have a suggestion?

That would be most welcome!
 [randomgallery@greenwold.com](https://yor.wordpress.org/plugins/random-gallery/randomgallery@greenwold.com?output_format=md)

### What if I find a bug?

Please let me know right away!
 [randomgallery@greenwold.com](https://yor.wordpress.org/plugins/random-gallery/randomgallery@greenwold.com?output_format=md)

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/537cbc29fb6005d997ba0464522efabe37e894e721cdd1d6cb53f5af6a10ec2d?
s=60&d=retro&r=g)

### 󠀁[DO WHAT YOU WANT](https://wordpress.org/support/topic/do-what-you-want-2/)󠁿

 [ebuege](https://profiles.wordpress.org/ebuege/) Agẹmọ 19, 2022

yes this great plugin do what you want. Gives me a tones of design alternates with
random properties.. clean and lightweight code with good performance

![](https://secure.gravatar.com/avatar/f95fc391b37a1371667017c09872263a852e217303dbc5a9ec95f1a1817cbe87?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-33478/)󠁿

 [Marcel de Korte](https://profiles.wordpress.org/dekortemarcel/) Èrèlé 20, 2022

Works great and is easy to work with. Hopefully the creator will keep this plugin
update 🙂

![](https://secure.gravatar.com/avatar/448799348044a0815ee434a5b8f0bf0cfb9850659548a6551ef7cfae8bf49f9d?
s=60&d=retro&r=g)

### 󠀁[It does not work](https://wordpress.org/support/topic/it-does-not-work-109/)󠁿

 [inMountains](https://profiles.wordpress.org/lawdreen/) Bélú 1, 2021 1 ìdáhùn

It shows the same pictures, never change.

![](https://secure.gravatar.com/avatar/ee5b9086d7dbc3a3d84c3ba63cf0e9a16e218cf9072902e88df7f07e61fe3e9c?
s=60&d=retro&r=g)

### 󠀁[Great Response Time](https://wordpress.org/support/topic/great-response-time-4/)󠁿

 [element30](https://profiles.wordpress.org/element30/) Igbe 14, 2021

AuthorÌtumọ̀ Yorùbá: ’s response time is commendable. Only issue I have is once 
you click on an image and it expands you canÌtumọ̀ Yorùbá: ’t get out or see the
next one easily. More options would be nice.

![](https://secure.gravatar.com/avatar/d72c210bbaf11f1f96446406dfe11eb1da7711ee50ebc27464fdf62eb5757260?
s=60&d=retro&r=g)

### 󠀁[Does what it says!](https://wordpress.org/support/topic/does-what-it-says-1007/)󠁿

 [glynmthomas](https://profiles.wordpress.org/glynmthomas/) Ẹrẹ́nà 28, 2021

Very happy

![](https://secure.gravatar.com/avatar/83084f0417999faf1fe65aa77d68851e05e1b3881433696bab386c56d024f491?
s=60&d=retro&r=g)

### 󠀁[Fast & easy](https://wordpress.org/support/topic/fast-easy-24/)󠁿

 [andrewm57](https://profiles.wordpress.org/andrewm57/) Èrèlé 25, 2021

I needed a simple sidebar gallery widget and this fits the bill perfectly. ItÌtumọ̀
Yorùbá: ’s straightforward to use the shortcode. My sole question was answered by
the developer within a few hours.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 11 ](https://wordpress.org/support/plugin/random-gallery/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Random Gallery” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

 *   [ David G ](https://profiles.wordpress.org/david-greenwold/)
 *   [ david-g ](https://profiles.wordpress.org/david-g/)

[Túmọ̀ “Random Gallery” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/random-gallery)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/random-gallery/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/random-gallery/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/random-gallery/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/random-gallery/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 00.08

Adds support for PHP 8. Drops support for Gallery shortcode parameter ‘type’. Updates
the readme and testing.

#### 00.07

Bug fix: categories no longer limited to a shownum of 5. Updated the readme and 
testing.

#### 00.06

Added support for categories. Added a donate link. Updated the readme and testing.

#### 00.05

No change to the code. Just updated the readme and testing.

#### 00.04

No change to the code. Just updated the readme and testing.

#### 00.03

No change to the code. Just updated the readme and testing.

#### 00.02

Added support for type, columns, size, and link.

Miscellaneous code and documentation improvements.

Fixed bug that was forcing the gallery to the top of the page.

#### 00.01

Added header and comments.

#### 00.00

Just the code. Made for and deployed on clientÌtumọ̀ Yorùbá: ’s website.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **00.08**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 3 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **200+**
 *  Ẹ̀yà WordPress ** 3.0.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.2.9**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/random-gallery/)
 * Àwọn àmì
 * [category](https://yor.wordpress.org/plugins/tags/category/)[gallery](https://yor.wordpress.org/plugins/tags/gallery/)
   [images](https://yor.wordpress.org/plugins/tags/images/)[random](https://yor.wordpress.org/plugins/tags/random/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/random-gallery/advanced/)

## Àwọn ìbò

 4.5 lára àwọn ìràwọ̀ 5.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/random-gallery/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/random-gallery/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/random-gallery/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/random-gallery/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/random-gallery/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/random-gallery/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/random-gallery/reviews/)

## Àwọn Olùkópa

 *   [ David G ](https://profiles.wordpress.org/david-greenwold/)
 *   [ david-g ](https://profiles.wordpress.org/david-g/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/random-gallery/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://paypal.me/randomgallery)