moving scripts from header
-
I’ve added a few plugsins like SimplwViewer, Google Calendar and Image manager. When I looking at the HTML source, I discovered a lot of javascripts.
Having a lot of javascripts in the header is not good if you want to optimize the site for the search engines.
This code <?php wp_head(); ?> generates a lot of code, and most taken from plugins.
How can I alter this to have the <scripts> be displayed in the footer rather in the header?
I have looked into general-template.php to see if I could discover anything. The only thing I found was this:
function get_header() { do_action( 'get_header' ); if ( file_exists( TEMPLATEPATH . '/header.php') ) load_template( TEMPLATEPATH . '/header.php'); else load_template( ABSPATH . 'wp-content/themes/default/header.php'); }
Any suggestions anyone?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘moving scripts from header’ is closed to new replies.