This plugin was commissioned by a client. The code base for the carousel came from a Cnet who generously provide an Open Source MIT license. Please use the comments to make suggestions for updated versions, or contact me directly.

[carousel name=’wpcarousel’]


  1. Download plugin
  2. Use WordPress Plugin installer, or:
  3. Unzip to local directory
  4. Upload to your plugins directory
  5. On WordPress administrative panel, go to ‘Carousel’ tool group and create a new carousel, and enter data as indicated.
  6. In a post or page, insert the short code , with the name of your carousel inserted in place of NAME, or
  7. if you prefer to insert inside a template you can call the carousel using the following php code:
    <?php print do_shortcode("[carousel name='NAME'["); ?>

If you like this plugin, please give this page, or this site a shout out on Digg, Twitter, thumbs-up on StumbleUpon, or whatever you use. Thanks.


83 thoughts on “Sandbox”

  1. Dude – you really, really need to put this out on This is light years better than anything currently on that site. I had been messing around for 4 days trying to get the stupid Yahoo carousel widget working – gave up and literally stumbled upon this.

    Good work!

    1. There is not a quick and configurable way to increase the number of slides, but someone with php skills could modify the plugin to add more slides. I developed the carousel’s functionality to provide a quick orientation to a site, not as a slide show.

  2. Hello Simon
    I was using the plugin for several days and was working fine.
    Two days ago I tried to “edit carousel” to save changes but didn’t work
    I delete the last plugins, saw the source code (manage page of the plugin), and delete and copy this plugin again and still don’t save the changes.

    Have a good day,

  3. hey, nice Plugin. In next Version i will wish that I can put “sites” into the slider. I hope you know what i mean

    Greet Sven

  4. Hi, I am struggling to get this work. I am not very technical hence looking for a widget to do this! What would the URL of the images be. Just /images if using the images folder of the template? Also do you need to have thumbnails? Should it work without them? I would rather just have the images without thumbnails blocking them. Thanks!

  5. This seems like good stuff, however it would be infinitely better IMO if you were to allow all the catagories etc to populate in wp control panels so you can choose the catagories or whatnot to pull from, and integrate autothumbnail generator, description also automatically populated and then also have the choice to make these static ads as far as the rotation is concerned like you have it already.
    just my two cents, would love to see it 🙂
    great work!
    thanks for listening

  6. Hi Simon,

    I love the plugin, good job! Instead of putting the slider in a page or post, I would like to put it on my front page, by putting the code in my Maine Index Template…the problem is that I am not sure what kind of code to use to make it work and wonder if you could help me out. Thank you so very much for your help.

  7. This is just what I was looking for – I’m hoping to use it on a site I’m developing for someone.

    Is it possible to hack the script for different image sizes? I’d like to use an image 600px wide.

    1. It’s very easy. I just changed two numbers in the plugin code. Just choose edit plugins from your WordPress back-end. Select carousels from the drop-down and change this code
      $width = 560;
      $width = 600;
      That should do it but I also changed


      Press “save”.

      Don’t forget to add the width in the “Edit carousel page” too.

  8. Hola Simon, quería saber si tiene el código de la galeria Sandbox WordPress, pero, en simple HTML, que no sea para WordPress, estaré agradecido por su valiosa colaboración, de antemano, muchisimas gracias!

  9. Hi Simon, I wanted to know if you have the code for WordPress Sandbox gallery, but in simple HTML, not for WordPress, I am grateful for their invaluable assistance in advance, many thanks!

  10. Hello,

    I have the carousel set up, and it displays the thumbnail, but when I mouseover it does not give me a large background image. I have the large photo set to the same as my height and width, and it works for the thumbnail but not the background image.



  11. Hi, this plugin is fantastic and really useful…however I would love to know how to add more slides. I’ve managed to create more slides in the menu but they’re not appearing in the actual carousel. Help would be really appreciated.

  12. hello simon,

    for some reason, after I click add on the carousel, it seems like it’s not saved.

    also, would you be able to tell me how to add a carousel to a home page?


    1. There was a typo above. You just have to add this code to your home page template or a widget on your home page.

      Where NAME is the name of your carousel. you need to have php enabled widgets for that code to work in a widget though. The shortcode should probably work in a widget.

      [carousel name='NAME']

      If not you may need to enable shortcodes in widgets by adding the following code to your functions.php

      add_filter('widget_text', 'do_shortcode');

  13. Hi,
    Love this plugin. It’s almost perfect for what I want to do. Just one thing. I’d like to enable php in the paragraph area. Is there an easy hack for this?

  14. Has anyone experienced a problem where after you create a carousel it says ‘Carousel Added Successfully’ however the carousel does not appear in the ‘edit carousel’ page?


    1. Thanks for the comment. There is no automatic way to add additional slides or change sizes, thought any php oriented web developer should be able to make these adjustments in an hour or two.

    2. Hey Joao & Simon – I’m not a php expert so I was wondering if you could possibly provide the code you used for adding more slides & thumbnails? I’d totally appreciate your help! Thanks!

  15. This is a great plugin. I was able to add a new carousel on the back end, but I can’t seem to find it in my wordpress page. I’m probably being incredibly dense, but could someone help lead me to the right direction?

    Thanks for your help!

  16. Hi! Great plugin…thanks so much! But I am having an issue with the text on the images when it switches to the next slide. THe text from the previous slide stays on for a while and you also see the text from the next slide at the same time. I am in Internet explorer 8. Thanks for your help!!

  17. Pingback: wordpress carousel
  18. hey guys that php code dosen’t work:

    use this

    php echo do_shortcode(“[carousel name=’1′]”); ?>

    add <?

    sorry for my english its not very well :p

    and… thanks for the plugin bro 🙂

  19. i love it, but i can’t insert it into my website 🙁
    [Fatal error: Call to undefined function add_shortcode() in D:xampphtdocsglcarouselcarousel.php on line 509]

Leave a Reply