• Open
  • Terry Mason
    Spectator
    September 15, 2020 at 12:39 am #45342

    I’m using the evolve theme, and working with pagespeed to get things a bit faster. It tells me that I should remove render blocking resources, including the following file:
    ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js

    When I grep my home directory, I see that text included in three files, all part of the component-shortcode plugin
    plugins/component-shortcodes/shortcodes/class-portfolio.php
    plugins/component-shortcodes/shortcodes/class-image-carousel.php
    plugins/component-shortcodes/shortcodes/class-client-slider.php

    I have not turned on “move jquery to the header”.

    Is Jquery needed, and if it is, would it be possible to load it from my site, and as non-render blocking?

    Thanks!

    Terry Mason
    Spectator
    Posts: 17
    October 24, 2020 at 10:50 pm #45437

    For those that come after me:

    disabling the “component shortcodes” plugin fixes this problem, however I wanted to keep running that plugin. The answer was to manually comment out that code in each of the three files.