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].
Hello,
is it possible to start a siteorigin slider after a ajax request?
i get content from an ajax-request and in the content is a slider but it didn’t work.
so i guess, i’ve to start the slider within the ajax request?
greetings
dutchy
Hi Dutchy,
Yes, but you’ll need to load the sliders assets for it to work. The files are:
so-widgets-bundle/js/jquery.cycle.min.js
so-widgets-bundle/js/jquery.cycle.swipe.min.js (only loaded if on mobile)
so-widgets-bundle/js/slider/jquery.slider.min.js
You could also automatically load these assets by outputting the loaded pages wp_head.