Support » Plugin: Arconix Flexslider » [Plugin: Arconix FlexSlider] Autoplay on and off?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Gardner

    (@jgardner03)

    I apologize for getting back to you so late. I didn’t realize until now that I didn’t subscribe to the support feed. There isn’t currently an option to turn autoplay on and off, but it’s something I’ll look to add

    Plugin Author John Gardner

    (@jgardner03)

    GerritKuilder,

    I’m such a fool. While there is no shortcode option to do that, autoplay can be turned off by changing the javascript that initializes the slider script.

    The easiest way to do so is to navigate to the js folder inside my plugin directory — wp-content/plugins/arconix-flexslider/js/ — and copy the flexslider.js file to the root of your theme folder and re-name it to arconix-flexslider.js (All of that is to make sure you don’t lose the change we’re going to make when I update the plugin in the future).

    Inside arconix-flexslider.js, you’ll see the following:

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider( {
    	pauseOnHover: true,
            controlsContainer: ".flex-container"
        } );
    } );

    add slideshow: false, right below the pauseOnHover line and that should take care of it.

    Your new code should look like this:

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider( {
    	pauseOnHover: true,
            slideshow: false,
            controlsContainer: ".flex-container"
        } );
    } );

    Let me know if you run into any other issues.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Arconix FlexSlider] Autoplay on and off?’ is closed to new replies.