Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Move jQuery to footer

$
0
0

Replies: 0

Hi Author,

Thank you for this awesome plugin, it very useful.
But I found one thing: when I try to re-declare jquery to move it from header to footer:

wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', includes_url( '/js/jquery/jquery.js' ), false, NULL, true );
wp_enqueue_script( 'jquery' );

It stays in header because of your plugin (checked manually).
I’ve found that this strings doing that:

### Function: Print Out jQuery Script At The Top
add_action('wp_head', 'ratings_javascripts_header');
function ratings_javascripts_header() {
    wp_print_scripts('jquery');
}

Could you please remove that lines in your next update or they need for some reasons?
Thanks.


Viewing all articles
Browse latest Browse all 59525

Trending Articles