Scripts To Footer
Superb. (3 posts)

  1. Bluemad
    Posted 2 years ago #

    Work out of the box. Super. Any way to move CSS before the fold like this?

  2. Joshua David Nelson
    Plugin Author

    Posted 2 years ago #

    Thanks for the great rating!

    There is another plugin that uses very similar code to mine called JavaScript to Footer - it moves scripts and styles to the footer.

    That said, moving your styles in this broad-stroke can mess up the order they appear and alter your site's appearance. Generally speaking it is better to keep your styles in the head.

    If you are loading large stylesheet files or multiple stylesheets and you're trying to improve performance, you might consider combining and compressing your stylesheets with a plugin like Better WordPress Minify. Note: if you use this plugin or another like it, my plugin (Scripts to Footer) may conflict with it because it removes scripts from their typical location - however, I haven't tested that so do so at your own risk! (You can always deactivate it, of course). Let me know if it works for you.

  3. Bluemad
    Posted 2 years ago #

    Thank you Joshua your information. Instead of moving CSS to the footer, now I use Async JS and CSS plugin to asynchronously load CSS (only CSS).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Scripts To Footer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.