Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
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”.
Hi 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: