Replies: 1
I am needing to move jQuery to the footer for a website and it’s causing an errory in stick.js: “Uncaught ReferenceError: jQuery is not defined”. How can I also have the JS for this plugin load in the footer after jQuery?
The code I am using to move jQuery is:
remove_action('wp_head', 'wp_print_scripts');
remove_action('wp_head', 'wp_print_head_scripts', 9);
remove_action('wp_head', 'wp_enqueue_scripts', 1);