MT,
The scripts are in the body, not in the head? If so, they are not enqueued correctly, and Scripts to Footer won’t do anything to them. Are they in-line scripts or external?
If you meant to say they are in the head, then a couple possible sources for this issue: the scripts are not enqueue correctly, like mentioned earlier; you’re using a cache system that needs to be cleared; or there is a conflict specific to that theme’s homepage.
I’d guess the scripts are not enqueued correctly for the homepage.
Let me know if I can help further.
Cheers,
Joshua
Thread Starter
todorm
(@todorm)
Hi Joshua,
The scripts are in the head (most websites I know and that I’ve worked on had scripts and stylesheets in the head, very bad for optimization of course). The only plugin I use is “Disqus Conditional Load”. The theme I use is Sparkling.
This is the homepage.
This is a post of the website.
You can see the page source of both and compare them.
Thanks for the reply,
MT
hmm… Looking quickly through the theme files I can’t see why it would do that.
If you’re comfortable with it, would you be willing to test the beta version for the next Script to Footer release? Version 0.6-beta is stable for me, and it includes some changes that might fix this issue. I’d love to hear back if it does.
Thanks,
Joshua
Thread Starter
todorm
(@todorm)
I’ll try to do it tomorrow on my local machine. Thanks for the answers.
MT
Thread Starter
todorm
(@todorm)
Hi Joshua,
I just tried version 0.6 locally and its working. Is it safe to use live?
Thanks,
MT
MT,
Yes. It’s fairly well tested at this point, the only thing left for me to test is multi-site, so if your using a single site install you should be good.
Thanks for the feedback! Glad to hear it solved your problem.
Cheers,
Joshua