skip to Main Content

Lightbox Auto Slideshow

add_filter( 'wpex_ilightbox_settings', function( $settings ) {
	$settings['controls']['slideshow']    = true;
	$settings['slideshow']['startPaused'] = false;
	$settings['slideshow']['pauseTime']   = intval( 4000 ); // 4 second rest between slides
	return $settings;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top