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: