Blog

Read more...

WordPress tip: move all JavaScript files to the footer automatically

With JavaScript, you can apply styling, layout and content changes outside the boundaries of the page or post you are authoring. In fact, there would be no restrictions from uploading malicious scripts by your authors. While this is a good restriction for the average author, there are valid reasons to add JavaScript to specific pages or posts.

Key Takeaways:

  • Ways to improve the loading time of your WordPress blog.
  • Unfortunately, it isn’t always as easy as it seems, especially when using some plugins who inject code in the header.
  • It is recommended that you move JavaScript files to the bottom of your HTML documents.

“In order to improve the loading time of your WordPress blog, it is recommended that you move JavaScript files to the bottom of your HTML documents.”

Read full article here

Leave a Reply