Support » Plugin: Product Gallery Slider for WooCommerce » make infinite loop in slider

  • Resolved kvg

    (@kevingaal2015)


    Hello,

    I hope someone can help me with this. I want an infinite loop in the slider. I know this works when I make “loop: false” into loop: true” in the product-gallery-slider.php..
    But then the changes are lost with an update of the plugin. Could you help me out with the code I could add into functions.php

      (function( $ ) {
    	'use strict';
    	 $( document ).ready(function() {
    		 	 $( '.woocommerce .thumbnails' ).owlCarousel({
    				loop:true,
    				slideBy:2,
    				dots: false,
    				nav: <?php echo wpgs_option("wpgs_nav"); ?>,
    				items:<?php echo wpgs_option("wpgs_thumbanils"); ?>,
    				margin:<?php echo wpgs_option("wpgs_thum_margin"); ?>,
    				stagePadding: <?php echo wpgs_option("wpgs_stagepadding"); ?>,
    				mouseDrag: false,
    				navText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],				
    				autoplayTimeout: 5000,
    				autoplayHoverPause:false,
    				autoplay: <?php echo wpgs_option("wpgs_autoplay"); ?>, // type false | if you don't want auto play
    			});    
    	});
    })( jQuery );
    • This topic was modified 5 years, 5 months ago by kvg.
    • This topic was modified 5 years, 5 months ago by kvg.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Niloy

    (@im_niloy)

    Hi Kevin,
    Just release 1.1.8.2 with this setting.
    please update your plugin version

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @im_niloy See a pattern here? 😉

    I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.

    http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.

    Plugin Author Niloy

    (@im_niloy)

    it’s okay ☺

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘make infinite loop in slider’ is closed to new replies.