Uncaught ReferenceError: jQuery is not defined in Move scripts to footer
-
Hi all,
After I enabled
Move scripts to footer
it gives following error.Uncaught ReferenceError: jQuery is not defined at (index):46 (anonymous) @ (index):46
When I go deeper, it shows following error.
<script type="text/javascript"> jQuery(document).ready( function($) { if ($('#adsforwp-hidden-block').length == 0 ) { $.getScript("https://www.mysite.com/front.js"); } }); </script>
Then I added
/wp-includes/js/jquery/jquery.js
to exclude list, but nothing happened.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Uncaught ReferenceError: jQuery is not defined in Move scripts to footer’ is closed to new replies.