Title: [Plugin: NextGEN Gallery] multiple slideshow widgets
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] multiple slideshow widgets

 *  [aicos](https://wordpress.org/support/users/aicos/)
 * (@aicos)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/)
 * My site will have 4 mini slideshows in a row at the top of the page. I was going
   to achieve this by way of the Nextgen slideshow widget. But then I found out 
   it wasn’t possible to insert the widget more than once. Even if I create a new
   sidebar group for each widget.
 * After doing some javascript hacking I found a way of doing this (see below). 
   Not very clean (quite dirty actually)
 * It would be really great if this plugin could be update to allow Slideshow widgets
   to be inserted multiple times. Or maybe there is another reason it was coded 
   in this way. (hope it doesn’t require a bit rewrite).
 * Thanks
    Aicos
 *     ```
       <div class="ngg-widget-slideshow" id="sbsl1_1" style="width:180px; height:275px;">
       </div>
       <div class="ngg-widget-slideshow" id="sbsl1_2" style="width:180px; height:275px;">
       </div>
   
       				<script defer="defer" type="text/javascript">
   
       				<!--
       				//<![CDATA[
       					var sbsl1_1 = {
       						params : {
       						wmode : "opaque"},
       						flashvars : {
       						file : "http://www.logicalley.se/mellowyellow/wp-content/plugins/nextgen-gallery/xml/imagerotator.php?gid=1",
       						shownavigation : "false",
       						 shuffle : "false",
       						 showicons : "false",
       						 overstretch : "none",
       						 rotatetime : "10",
       						 backcolor : "0x000000",
       						 frontcolor : "0xFFFFFF",
       						 lightcolor : "0xCC0000",
       						 width : "180",
       						 height : "275"},
       						 attr : {
       						 styleclass : "slideshow-widget"},
       						 start : function() {
       						 swfobject.embedSWF("wp-content/uploads/imagerotator/imagerotator.swf", "sbsl1_1", "180", "275", "7.0.0", false, this.flashvars, this.params , this.attr );
       					 }
       				}
       				sbsl1_1.start();
   
       					var sbsl1_2 = {
       						params : {
       						wmode : "opaque"},
       						flashvars : {
       						file : "http://www.logicalley.se/mellowyellow/wp-content/plugins/nextgen-gallery/xml/imagerotator.php?gid=1",
       						shownavigation : "false",
       						 shuffle : "false",
       						 showicons : "false",
       						 overstretch : "none",
       						 rotatetime : "10",
       						 backcolor : "0x000000",
       						 frontcolor : "0xFFFFFF",
       						 lightcolor : "0xCC0000",
       						 width : "180",
       						 height : "275"},
       						 attr : {
       						 styleclass : "slideshow-widget"},
       						 start : function() {
       							swfobject.embedSWF("wp-content/uploads/imagerotator/imagerotator.swf", "sbsl1_2", "180", "275", "7.0.0", false, this.flashvars, this.params , this.attr );
       						 }
       					  }
       				sbsl1_2.start();
       				//]]>
       				-->
   
       				</script>
       ```
   

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

 *  Thread Starter [aicos](https://wordpress.org/support/users/aicos/)
 * (@aicos)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/#post-1117949)
 * This post isn’t appearing under the NextGen forum. Is it because I selected WP-
   Advanced instead of Installation?
 *  Thread Starter [aicos](https://wordpress.org/support/users/aicos/)
 * (@aicos)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/#post-1117979)
 * No! its because I had more than one tag on the post! 🙂
 *  Thread Starter [aicos](https://wordpress.org/support/users/aicos/)
 * (@aicos)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/#post-1118040)
 * bump!
 * + heres how I’m using it:
 * [http://www.melloyello.se/wp](http://www.melloyello.se/wp)
 * PS, sorry for the typing errors in the first message.
 * Thanks
    Aicos
 *  [natureone2106](https://wordpress.org/support/users/natureone2106/)
 * (@natureone2106)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/#post-1118044)
 * Hi,
 * finally I hope I found the answer to my slideshow-problem by reading your post.
 * Can you just tell me exactly the position where I have to paste your javascript?
   
   Which PlugIn-data and which line in the code?
 * Thank you so much!!
 *  Thread Starter [aicos](https://wordpress.org/support/users/aicos/)
 * (@aicos)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/#post-1118051)
 * Well, I wouldn’t recommend it unless you really know what you’re doing because
   you have to change quite a few things in that javascript to get it working. Plus
   the settings for each slideshow cannot be changed from the wp admin.
 * An easier solution I found out later (typical), was in this post here:
 * [http://wordpress.org/support/topic/243468](http://wordpress.org/support/topic/243468)
 * This doesn’t use the wp widgets but will probably work the way you want. Hope
   that helps.
 * Aicos

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

The topic ‘[Plugin: NextGEN Gallery] multiple slideshow widgets’ is closed to new
replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 5 replies
 * 2 participants
 * Last reply from: [aicos](https://wordpress.org/support/users/aicos/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-multiple-slideshow-widgets/#post-1118051)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
