I use the Thine Theme for WordPress, and I want to optimize it for speed.
I tried to do this with a plugin that moves all JavaScript from the header to the footer, except jQuery (because if I also move jQuery, the Header will be gone).
Doing this I noticed that everything works fine...but the Footer is completely gone! So, there must be another script (or more) that need(s) to stay in the header.
Can you tell me which scripts are needed for the footer to work?
Actually there is no specific script for loading the footer. All the theme related JS code are in the "/js/thine.js" file. I think you might need to make the Modernizr script on the header as well. See if this helps.
I found the error. It had nothing to do with JavaScripts...the Footer was just empty! (nobody knows why)
Thank you very much for your help!
So, if anyone wants speed up his Thine theme (or others), I do recommend this plugin here: http://wordpress.org/plugins/scripts-to-footerphp/ and tick the box "Keep jQuery in the Header" (otherwise the header is gone)
Hello,
I use the Thine Theme for WordPress, and I want to optimize it for speed.
I tried to do this with a plugin that moves all JavaScript from the header to the footer, except jQuery (because if I also move jQuery, the Header will be gone).
Doing this I noticed that everything works fine...but the Footer is completely gone! So, there must be another script (or more) that need(s) to stay in the header.
Can you tell me which scripts are needed for the footer to work?
Thanks!
Hi there!
Actually there is no specific script for loading the footer. All the theme related JS code are in the "/js/thine.js" file. I think you might need to make the Modernizr script on the header as well. See if this helps.
Regards,
Paul
Hey!
I found the error. It had nothing to do with JavaScripts...the Footer was just empty! (nobody knows why)
Thank you very much for your help!
So, if anyone wants speed up his Thine theme (or others), I do recommend this plugin here:
http://wordpress.org/plugins/scripts-to-footerphp/
and tick the box "Keep jQuery in the Header" (otherwise the header is gone)
You're welcome! Really glad to hear that you have figured it out and thank you for your sharing! ;)
I'm happy to start or join a discussion about speed issues :-)