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.
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="Another 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: