Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello, waiting the solution by the plugin I propose you this solution :
    https://wpengineer.com/2482/enqueue-bundled-jquery-in-footer/

    This solution move the javascript files on the footer, so it’s not The solution for a good total parsing but that’s already a solution ??

    For example on my website after this manipulation, GTMetrix is almost OK with me ??

    All you have to do it’s :
    -> go to wp-includes/script-loader.php
    -> go to the bottom of the file and add the solution proposed by the author of the article :

    replacing ‘add_action( ‘wp_default_scripts’…..’ line’s

    by :

    function ds_enqueue_jquery_in_footer( &$scripts ) {

    if ( ! is_admin() )
    $scripts->add_data( ‘jquery’, ‘group’, 1 );
    }
    add_action( ‘wp_default_scripts’, ‘ds_enqueue_jquery_in_footer’ );

Viewing 1 replies (of 1 total)