user4815703
user4815703

Reputation:

Why is Jquery not in the footer?

I am trying to fix my javascript blocking issue, since i found the jquery.js in the header i have been trying to find a solution to move it.

i found a laborator_actions.php which contains

// Scripts
wp_enqueue_script( array( 'jquery', 'bootstrap', 'tweenmax', 'modernizr', 'joinable', 'isotope', 'packery' ) );

All of the above except for 'jquery' ARE in the FOOTER. Jquery is NOT in the footer but in the header right now. How can i move it?

refer to http://satisphy.com

Thanks

Upvotes: 0

Views: 105

Answers (1)

Kenney
Kenney

Reputation: 9093

Your plugin/theme can dequeue the script, and then enqueue it again, saying it must be in the footer.

Upvotes: 2

Related Questions