• Hi author, Thanks for your plugin
    i have an problems with yours

    //* Move JavaScript to the Footer
    function remove_head_scripts() {
    remove_action('wp_head', 'wp_print_scripts');
    remove_action('wp_head', 'wp_print_head_scripts', 9);
    remove_action('wp_head', 'wp_enqueue_scripts', 1);

    add_action('wp_footer', 'wp_print_scripts', 5);
    add_action('wp_footer', 'wp_enqueue_scripts', 5);
    add_action('wp_footer', 'wp_print_head_scripts', 5);
    }
    add_action( 'wp_enqueue_scripts', 'remove_head_scripts' );

    it not working if i add this to functions.php
    If i removed it. q2w3 work ok
    How can i use both?
    thanks for your support

Viewing 1 replies (of 1 total)
  • Plugin Contributor Max Bond

    (@max-bond)

    This is a bad idea to manually change WordPress script load order!
    If you want to optimize script loading, I recommend to use Autoptimize plugin. It will move all your scripts to the footer with minification and concatenation.

Viewing 1 replies (of 1 total)

The topic ‘Q2w3 is’nt working’ is closed to new replies.