Title: What code do I enter?
Last modified: August 21, 2016

---

# What code do I enter?

 *  Resolved [DLX34](https://wordpress.org/support/users/dlx34/)
 * (@dlx34)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/)
 * Im new to this plugin and wordpress as a whole really.
 * Im a bit confused at the FAQ, it doesnt really give instruction on what to do
   to get started.
 * I have uploaded the pictures I want straight into the images folder in the plugin(
   using filezilla). Is this correct?
 * Once I have done that, what do I do next?
    I have a header on my page as well
   as the tabs (i am using the twenty eleven theme if that matters). I want the 
   rotating banner to be on the homepage about half way down, under the header so
   that it rotates through with a brief description on whats on the other pages.
 * I have made my banners the appropriate 1000×288 that the theme says will take.
   
   Again, not sure if it matters, but I created a child theme for my theme and the
   only files I have in there so far is header.php and style.css.
 * Just not sure what to do next?
 * [http://wordpress.org/extend/plugins/js-banner-rotate/](http://wordpress.org/extend/plugins/js-banner-rotate/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [DLX34](https://wordpress.org/support/users/dlx34/)
 * (@dlx34)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/#post-3861960)
 * Sorry for the self-bump but, anyone able to help?
    Is there a guide anywhere 
   that im not seeing?
 *  [satimis](https://wordpress.org/support/users/satimis/)
 * (@satimis)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/#post-3862008)
 * Hi all,
 * WordPress 3.1.5
    theme – twentyeleven On Godaddy server.
 * Just installed JS Banner Rotator and have it activated.
 * I followed following doc
    [http://jumping-duck.com/wordpress/plugins/js-banner-rotate/](http://jumping-duck.com/wordpress/plugins/js-banner-rotate/)
 * to configure it. Unfortunately I was not very clear on the steps described there.
 * 1) What does “Place [jsbrotate images=image1url|image2url… /] on your pages/posts”
   refer to?
 * 2) What does it mean “Specify your images in a pipe-delimited list:
 * images=http://blog.url/image1.jpg|http://blog.url/image2.jpg”
    ?
 * etc.
 * Where can I find a more detail instruction? Thanks
 * Rgds
    satimis
 *  Thread Starter [DLX34](https://wordpress.org/support/users/dlx34/)
 * (@dlx34)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/#post-3862071)
 * Was this in any way a reply to mine or are you needing help from the start too?
   just wondering lol
 *  Plugin Author [Eric Mann](https://wordpress.org/support/users/ericmann/)
 * (@ericmann)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/#post-3862160)
 * 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:
    - [http://site.com/image1.jpg](http://site.com/image1.jpg)
    - [http://site.com/image2.jpg](http://site.com/image2.jpg)
    - [http://site.com/image3.jpg](http://site.com/image3.jpg)
 * The “pipe-delimited list” would be:
 * `http://site.com/image1.jpg|http://site.com/image2.jpg|http://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](http://codex.wordpress.org/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](http://jumping-duck.com/wordpress/plugins/#gform_3)
   to support continued development – both of the plugin and its documentation.
 *  Thread Starter [DLX34](https://wordpress.org/support/users/dlx34/)
 * (@dlx34)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/#post-3862216)
 * Hi Eric,
 * Sorry for the (very!) late reply, I have been unwell for a while. Just wanted
   to say thanks for the information. I THINK it makes sense to me, lol. Im going
   to get working on it today. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘What code do I enter?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/js-banner-rotate_8389a9.svg)
 * [JS Banner Rotate](https://wordpress.org/plugins/js-banner-rotate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-banner-rotate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-banner-rotate/)
 * [Active Topics](https://wordpress.org/support/plugin/js-banner-rotate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-banner-rotate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-banner-rotate/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [DLX34](https://wordpress.org/support/users/dlx34/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/what-code-to-i-enter/#post-3862216)
 * Status: resolved