add_filter( 'wpex_ilightbox_settings', function( $settings ) { $settings['infinite'] = true; return $settings; } );
// You can add custom params for any "vendor" this example is for youtube add_filter( 'wpex_get_video_embed_url_params', function() { return array(…
add_filter( 'wpex_ilightbox_settings', function( $settings ) { $settings['controls']['slideshow'] = true; $settings['slideshow']['startPaused'] = false; $settings['slideshow']['pauseTime'] = intval( 4000 ); // 4 second…
Many functions in the theme use the WordPress oEmbed function which "strips" parameters from the URL. To add the parameters…
add_action( 'wp_footer', function() { ?> ( function( $ ) { 'use strict'; // Get lightbox elements var $lightboxLinks = $(…
/** * Change Lightbox Gallery To Vertical Scroll * * @link http://total.wpexplorer.com/docs/snippets/change-lightbox-gallery-vertical/ * */ function myprefix_ilightbox_settings( $array ) { //…
Important: Since Total 4.9.3 there is now a setting in the Customizer to enable the scripts globally so you don't…