Header and Footer Scripts


Many WordPress Themes do not have any options to insert header and footer scripts in your site <head> or <footer>. It helps you to keep yourself from theme lock. But, sometimes it also causes some pain for many. like where should I insert Google Analytics code (or any other web-analytics codes). This plugin is one stop and lightweight solution for that. With this “Header and Footer Script” plugin will be able to inject HTML tags, JS and CSS codes to <head> and <footer> easily.

Benefits of the plugin:

  • You will be able to insert Google Analytics or other Web-analytics code, meta-informations, CSS and JS codes to <head>
  • You will be able to insert html and/or JavaScript codes to footer of your site. Good place for Clicky Web Analytics, Twitter, Facebook or any other social media script.
  • Easily insert codes to single post and page headers, in addition to default codes.

Please note, If the plugin is not working check for wp_head and wp_footer hooks. more information or ask for support.

Important Links

PS: For any troubleshooting ask your question in the BlogSynthesis Forums. I can’t check WordPress forums regularly.


Upload the plugin to /wp-content/plugins and activate. OR Search “Header and Footer Scripts” from WP Dashbard --> Plugins --> Add New then hit Install


Q. I need plugin support. Where should I ask questions?

A. You may ask support related questions at BlogSynthesis Forums. Meanwhile, you should take a look on this FAQ This page will have most latest FAQs (that depends upon what user asks.) Read that article before asking any questions. It may solve your questions and save time.

How do I disable the site-wide header and footer injection or the post specific header injection?

A. To keep this plugin simple we have not added any such options. You may try another plugin for more or less functionality.

Q: I need more functionality. What should I do?

A. If you want more functionality then check Enhanced Header/Footer Scripts.

Q: I need less functionality. What should I do?

A. If you are looking for less functionality then check Insert Header and Footers plugin.

Q: Is there any paid version of the plugin available?

A. No, There is no paid version of this plugin is available.


Read all 7 reviews

Contributors & Developers

“Header and Footer Scripts” is open source software. The following people have contributed to this plugin.


“Header and Footer Scripts” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Header and Footer Scripts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fixed variable undefined notice


  • Started using PHP5 style construct


  • Fixed https issue


  • Made for official WordPress Repo.
  • Added Single post Header script metabox
  • Minor Bug Fixes


  • Initial Public Release