Insert Headers and Footers

Description

Easily Insert Header and Footer Code

Insert Headers and Footers is a simple plugin that lets you insert code like Google Analytics to your WordPress site header and footer. No need to edit your theme files!

The simple interface of the Insert Headers and Footers plugin gives you one place where you can insert scripts, rather than dealing with dozens of different plugins.

Features of Insert Headers and Footers

  • Quick to set up
  • Simple to insert scripts
  • Insert header code and/or footer code
  • Add Google Analytics code to any theme
  • Insert any code or script, including HTML and Javascript

Credits

This plugin is created by Syed Balkhi and the WPBeginner team.

What’s Next

If you find this plugin useful to insert header and footer scripts, please leave a good rating and consider checking out our other projects:

To learn more about WordPress, you can also visit WPBeginner for tutorials on topics like:

…and many more WordPress tutorials.

Notes

Insert Headers and Footers is the easiest way to insert code in your WordPress headers and footers.

Our goal is to make using WordPress easy, both with our WordPress plugins and resources like WPBeginner, the largest WordPress resource site for beginners.

I feel that we have done that here. I hope find Insert Headers and Footers useful to insert scripts on your site.

Thank you
Syed Balkhi

Screenshots

  • Settings Screen

FAQ

Can I use Insert Headers and Footers to install Google Analytics?

Yes, you can insert your Google Analytics code in the Scripts in Header field.

Reviews

Errors if using HTTPS

kermit666

This plugin loads some content over HTTP, even though everything else on my site is set to go over HTTPS which results in mixed-content errors.

Read all 36 reviews

Changelog

1.4.1

  • Fixes for users running PHP version less than 5.5

1.4

  • Tested with WordPress 4.7.2
  • cleaned up code

1.3.3

  • Tested with WordPress 4.3
  • Fix: plugin_dir_path() and plugin_dir_url() used for Multisite / symlink support

1.3.2

  • Fix: Dashboard widget logo URL when RSS feed cannot be loaded
  • Fix: WordPress 4.0 support
  • Added: POT language file

1.3.1

  • Improved settings UI for WordPress 3.8+
  • Bumped minimum version requirement

1.3

  • fixed readme file

1.2

  • cleaned up code

1.1

  • fixed unecessary CSS loading

1.0

  • Initial version

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code