Hi there,
In theory this should work on a multisite, though I haven’t personally tested it. It is a very light-weight code and follows codex standards. You’re welcome to try at your own risk and report back.
I will try to set up a multisite testing environment sometime soon and see if it works. I really think it will as-is, but can’t say for certain until it’s tested on an MU install.
Cheers,
Joshua
Hey Joshua,
Thanks for the quick reply. I did network activate and everything appears to be working fine. Page load times seem at least twice as fast. Really impressive!
I did come across a conflict with a Google maps plugin where it stops the maps from loading all together. I saw the feature to disable the plugin on a per page basis, but site heavily depends on the Google maps API so I’d disabling half site.
Is there away to prevent the “Script To Footer” from effecting some scripts, or some plugins?
Regardless, great work!
Yea, it is likely that there are javascript items that need to be placed in the header, before other scripts are placed in the body. The best way to do this and keep the rest of this plugin working is to find the specific scripts and place them back into the header.
See this post: https://ww.wp.xz.cn/support/topic/how-to-exclude-files?replies=24#post-5158069.
Hope that helps!
Excellent! The plugin developers a friend, so I’ll reach out for some guidance. Thanks again, I love plugins like these!
You’re probably already familiar, but another lightweight plugin that speeds up load times considerably is “Use Google Libraries.”. My script knowledge is pretty weak, but does using “Script To Footer” along side a plugin like Google Libraries make sense?
Sure! Scripts To Footer is pretty compatible with most other speed enhancing plugins – by placing your scripts in the footer it increases the visible page load time – loading the style sheets and content first, then all the scripts second (instead of the other way around, which is typical for scripts loaded in the header).
I haven’t used Use Google Libraries, but it looks like a good plugin. Best of luck, and thanks for reaching out! Don’t hesitate to drop me a line if you run into other issues.
Will do, thanks again! Since we’ve covered about three topics, I’ll mark as resolved and start a new one if need be.