JQuery loading from google and errors with autoptimize
-
Hi guys,
I’m trying to optimize my website performance and I found that JQuery loading is a key factor.
So I tried to follow some online guidelines to load from google cdn and I modified function.php in my child theme.
The problem is that if I open the wesite in unkwnown mode in chrome console I see this and not all the functionalities are loaded in the page.Uncaught ReferenceError: jQuery is not defined
at autoptimize_a8e05c6a9eccf043083b16d19bacd6a1.js:5
at autoptimize_a8e05c6a9eccf043083b16d19bacd6a1.js:5Do you know how to solve?
What’s the right code to paste in the function file?
How can I see the correct Jquery version currently used?thanks
- The topic ‘JQuery loading from google and errors with autoptimize’ is closed to new replies.