Title: Random Content Shortcode
Author: Nico
Published: <strong>Ọwẹ́wẹ̀  8, 2016</strong>
Last modified: Èrèlé  5, 2018

---

Ṣàwárí àwọn plugin

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://s.w.org/plugins/geopattern-icon/random-content-shortcode.svg)

# Random Content Shortcode

 Láti ọwọ́ [Nico](https://profiles.wordpress.org/nico23/)

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

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

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

## Àpèjúwe

Check out the [plugins page](https://nextgenthemes.com/plugins/random-content-shortcode/)
to see it in action.

Simple Shortcode for displaying random content on your site. Just wrap the shortcode
arround the lines of content you want one to be displayed at random.

The following example will display one of the two videos or one of the two lines
of text, empty lines will ignored.

    ```
    [random_content]

    A line with some text in it.

    [arve url="https://youtu.be/b1rTZJxEnAQ" title="A Video Embedded with ARVE" maxwidth="350"]

    A bold line.

    [arve url="https://vimeo.com/124400795" title="A Video Embedded with ARVE" maxwidth="400"]

    [/random_content]
    ```

By default the newline `\n` character is used to separate content. You can also 
choose another separator, do this if you have problems with the default or like 
to have random content with multiple lines on one piece like this:

    ```
    [random_content separator="|||"]
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

    Aenean commodo ligula eget dolor. Aenean massa.
    |||
    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

    Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
    |||
    Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate

    Aenean commodo ligula eget dolor. Aenean massa.
    [/random_content]
    ```

Or have a compact single line like this:

    ```
    [random_content separator="#"]One#Two#Three#Four[/random_content]
    ```

## Ìgbéwọlẹ̀

Please refer to [codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation](https://codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation).

## FAQ

  Installation Instructions

Please refer to [codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation](https://codex.wordpress.org/Managing_Plugins#Automatic_Plugin_Installation).

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

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

### 󠀁[2021 and it still work](https://wordpress.org/support/topic/2021-and-it-still-work/)󠁿

 [Volgogradec](https://profiles.wordpress.org/volgogradec/) Ẹrẹ́nà 2, 2021

Very simple plugin for trivial task.

 [ Ka gbogbo àgbéyẹ̀wò 1 ](https://wordpress.org/support/plugin/random-content-shortcode/reviews/)

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

“Random Content Shortcode” 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

 *   [ Nico ](https://profiles.wordpress.org/nico23/)

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

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

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

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

### 2018-02-03 Ìtumọ̀ Yorùbá: – 2.1.0

 * Fixed new version not working in sidebars.

### 2018-02-03 Ìtumọ̀ Yorùbá: – 2.0.1

 * Namespace fix.

### 2018-02-02 Ìtumọ̀ Yorùbá: – 2.0.0

 * Fix: Plugin not working correctly. Sometimes displaying nothing …
 * Improved: Added `[random_content]` shortcode because I read that dashes work 
   but are not recommended. `[random-content]` still works for backwards compatibility
   but you should use `[random_content]`.
 * Improved: Rewritten the the JavaScript and some PHP code. Removed jQuery dependancy.
 * Improved: Loads script early and dequeue it in case its not needed.

### 2016-11-07 Ìtumọ̀ Yorùbá: – 1.3.3

 * Fix php error on admin screen.

### 2016-11-05 Ìtumọ̀ Yorùbá: – 1.3.1

 * Fix spelling error the `seperator` attribute is now `separator`.
 * Fix plugin sometimes showing nothing.

### 1.2.1 Ìtumọ̀ Yorùbá: – 2016-09-09

 * Fix plugin not working correctly.

### 1.1.0 Ìtumọ̀ Yorùbá: – 2016-09-08

 * Rewrite some php and addind Javascript to make it work with chaching.

### 1.0.0 Ìtumọ̀ Yorùbá: – 2016-09-07

 * Release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **2.1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 8 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **80+**
 *  Ẹ̀yà WordPress ** 4.5.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **5.0.0**
 *  Ẹ̀yà PHP ** 5.6 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/random-content-shortcode/)
 * Àwọn àmì
 * [random](https://yor.wordpress.org/plugins/tags/random/)[random content](https://yor.wordpress.org/plugins/tags/random-content/)
   [shortcode](https://yor.wordpress.org/plugins/tags/shortcode/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/random-content-shortcode/advanced/)

## Àwọn ìbò

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

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

[Add my review](https://wordpress.org/support/plugin/random-content-shortcode/reviews/#new-post)

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

## Àwọn Olùkópa

 *   [ Nico ](https://profiles.wordpress.org/nico23/)

## Ì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-content-shortcode/)

## Ṣ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://nextgenthemes.com/donate/)