How can I switch to a specific slide in SiteOrigin Layout Slider?
I’m using the SiteOrigin Layout Slider in WordPress. I gave it an ID of mySlider using the attributes tab under Widget Styles.
I have two different slides and I want to be able to switch between them using JavaScript. I’ve tried calling jQuery(“#mySlider”).cycle(0) and jQuery(“#mySlider”).cycle(1) but the console says “slideshow must be initialized before sending commands”.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Pikamander2
#mySlider is applied to the widget container rather than the slider itself. You should instead target .sow-slider-images
Something like this should work:
jQuery('#mySlider .sow-slider-images').cycle(0)Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.