• Resolved magikbibi

    (@magikbibi)


    Hello,

    Since i used WP Deferred Javascript (https://wordpress.org/plugins/wp-deferred-javascripts/) the Simple LightBox plugin doesnt works (all my other javascript plugins work fine)

    With WP Deferred Javascript it is possible to use :

    // Don't defer this script.
    add_filter( 'do_not_defer', 'exlude_lightbox_scripts' );
    function exlude_lightbox_scripts( $do_not_defer ) {
    		$do_not_defer[] = 'my_lightbox_script';
    		return $do_not_defer;
    }

    Where “my_lightbox_script” is the script name when we use wp_enqueue_script().

    But i dont find the script name.

    Could you help me please ?

    https://wordpress.org/plugins/simple-lightbox/

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

The topic ‘Problem with WP Deferred Javascripts’ is closed to new replies.