WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Gallery to Slideshow] Play slideshow only once

[Plugin: Gallery to Slideshow] Play slideshow only once

  • I would like the slideshow to play just once, stopping on the last slide.

    I have tried setting the ‘animationLoop’ parameter to ‘false’, with no luck.

    This in my functions.php file:

    function my_gallery_to_slideshow_settings( $params ){
    		$params['animationLoop'] = false;
    		return $params;
    }
    add_filter( 'mv_gallery_to_slideshow_js_params', 'my_gallery_to_slideshow_settings' );

    Am I missing something?

    Thanks!

    http://wordpress.org/extend/plugins/gallery-to-slideshow/

Viewing 2 replies - 1 through 2 (of 2 total)
  • CarolineElisa

    @carolineelisa

    BTW, this is the only parameter not being set out of the following (not sure if the syntax is correct, but the other settings are working!):

    function my_gallery_to_slideshow_settings( $params ){
    		$params['pauseOnHover'] = false;
    		$params['animationLoop'] = false;
    		$params['animationDuration'] = 100;
    		$params['slideshowSpeed'] = 1500;
    		return $params;
    }

    Here is the page: http://p3rpublicity.com/wordpress

    i would like to know how to only loop the slides one time as well. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Gallery to Slideshow] Play slideshow only once’ is closed to new replies.