Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi korfiait_a. If you’re comfortable digging into the code, here’s a tutorial. Or you could try the Scripts to Footer plugin.

    Thread Starter korfiati_a

    (@korfiati_a)

    Thanks for the answer.

    In Hueman, as I understand it, the connection scripts this function is engaged –
    function alx_scripts () {
    wp_enqueue_script (‘flexslider’, get_template_directory_uri (). ‘/js/jquery.flexslider.min.js’, array (‘jquery’), ”, false);
    wp_enqueue_script (‘jplayer’, get_template_directory_uri (). ‘/js/jquery.jplayer.min.js’, array (‘jquery’), ”, true);
    wp_enqueue_script (‘scripts’, get_template_directory_uri (). ‘/js/scripts.js’, array (‘jquery’), ”, true);
    if (is_singular ()) {wp_enqueue_script (‘sharrre’, get_template_directory_uri (). ‘/js/jquery.sharrre.min.js’, array (‘jquery’), ”, true); }
    if (is_singular () && get_option (‘thread_comments’)) {wp_enqueue_script (‘comment-reply’); }
    }
    2 where the script with parameters in_footer – true
    But loading continues still in the head
    The decision at all possible? somebody made a boot in the footer?

    I just checked your site with Pagespeed Insights. For both desktop and mobile, under “Remove render-blocking JavaScript” it only lists one script:

    https://vk.com/js/api/openapi.js?116

    Thread Starter korfiati_a

    (@korfiati_a)

    Thanks for the answer
    Yes, with the help of the plug-Better WordPress Minifie suffered in the footer.
    But I do these things without a plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove the top of the page Javascript code?’ is closed to new replies.