Re init slider code
-
Hello! i am using your plugin to show related products by tag `function v_woo_related_slider() {
if (is_product()) {?>
<script>
jQuery(document).ready(function($) {
$(“#woorelatedproducts”).data(‘owlCarousel’).destroy();
var owl = $(“#woorelatedproducts”);
owl.owlCarousel({
items : 4,
itemsDesktop : [1000,3],
itemsDesktopSmall : [900,3],
itemsTablet: [600,2],
autoPlay: 3500,
itemsMobile : false,
});
});
</script> <?php
}
}
add_action( ‘wp_footer’, ‘v_woo_related_slider’ );`
my theme is flatsome and i am having issues with the wp_footer function (as the site is already in production i have removed the code)
what i need to do is to prevent owl slider to move, and remove the touch action in mobile do you think that you could help me with this?The page I need help with: [log in to see the link]
- The topic ‘Re init slider code’ is closed to new replies.