Hoping I can answer both questions at once here.
Pipe-delimited list
You have to specify the full path of each image, separating the URLs with a | character. So, let’s say you have the following images you want to rotate:
The “pipe-delimited list” would be:
https://site.com/image1.jpg|https://site.com/image2.jpg|https://site.com/image3.jpg
Each URL is separated (delimited) by a |.
Shortcodes and Template Tags
The plugin allows you to insert a rotating banner image in one of two ways – with a shortcode or with a template tag.
A shortcode is just a special block of text you insert in your regular post/page content in WordPress. It starts with a [ character, followed by a tag, followed by optional attributes, and is closed with a ] character.
For this plugin, the shortcode looks like:
[jsbrotate images="..." /]
The … in the images parameter is the pipe-delimited list from above.
If you want to use the banner outside of regular post/page content, though, you need to use the template tag instead.
The template tag looks similar to the shortcode, only it’s real PHP code, not markup. The same shortcode above could be written as a template tag like:
<?php jsbrotate( 'images=...' ); ?>
Again, the … in the images parameter is the pipe-delimited list from above.
Other Arguments
The plugin also allows you to specify how long images display for, how long they take to rotate, and the height/width of the banner. Each of these is specified in a different parameter:
- height
- width
- imgdisp
- imgfade
In the shortcode, just add a space and specify the new parameter. For example:
[jsbrotate images="..." height="100" width="1000" /]
In the template tag, add a &
between parameters. For example:
<?php jsbrotate( 'images=...&height=100&width=1000' ); ?>
Where to find more detailed instruction
All of the documentation for the plugin is listed on the plugin’s FAQs page. Alternatively, you could take a look at the code itself. But asking here, in the support forums, is the best place to get your questions answered.
As always, if this plugin is of use to you, please consider donating to support continued development – both of the plugin and its documentation.