Configuration guides for IT Administrators

Add Javascript in WordPress Pages

Add Javascript in WordPress Pages

WordPress defaults security feature restricts use of JavaScript into your content. However there are plenty of plugins out in WordPress that allows JavaScript within page or posts. After testing few, the most easy and workable plugin we found is Scripts n Styles. It provides awesome features like

Blog Wide JavaScript – Code entered here will be included in every page (and post) of your site, including the homepage and archives. The code will appear before Scripts that were registered individually. There are options for

  1. Scripts for the head element
  2. Scripts for the body tag

Blog wide CSS – Code entered here will be included in every page (and post) of your site, including the homepage and archives. The code will appear before Styles that were registered individually.

Leave a Reply

Your email address will not be published. Required fields are marked *

Lucas Brey

I’m Lucas Brey, a travel blogger sharing practical guides, hidden gems, and honest tips from the road. Follow along for smart itineraries, great food finds, and stories worth bookmarking.

Tags