Move JS to footer
Line 277 in the php should be:
add_action ( ‘wp_footer’, ‘catapult_add_cookie_js’ );
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).
- The topic ‘Move JS to footer’ is closed to new replies.