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 blue box below should show random content, try to refresh the page a few times.
A line with some text in it.
A bold line.
Content created the above:
[random-content] A line with some text in it. [arve url="https://youtu.be/b1rTZJxEnAQ" title="A Video Embedded with ARVE" maxwidth="350"] <strong>A bold line.</strong> [arve url="https://vimeo.com/124400795" title="A Video Embedded with ARVE" maxwidth="400"] [/random-content]
The following Example with display either, one of the two videos or one of the two lines of text, empty lines will ignored.
By default the newline
\n character is used to separate content. You can also choose another separator, do this if want newlines be part of random content for example.
Example of above shortcode: