Move JS to footer
-
Line 277 in the php should be:
add_action ( ‘wp_footer’, ‘catapult_add_cookie_js’ );
and not:
add_action ( ‘wp_head’, ‘catapult_add_cookie_js’ );
No reason to load the js in the header and slow down page load – works perfectly fine in the footer (as far as I’ve tested).
Great plugin!
- The topic ‘Move JS to footer’ is closed to new replies.