• Resolved Nikita_Sp

    (@nikitasp)


    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 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move jQuery to footer’ is closed to new replies.