Insert Headers and Footers

Wordpress Plugin
Download latest - 1.6.2

Download Stats

Today 1,086
Yesterday 1,710
Last Week 11,220
All Time 1,255,046
Banner 772x250

Easily Insert Header and Footer Code

Insert Headers and Footers is a simple plugin that lets you insert code like Google Analytics, custom CSS, Facebook Pixel, and more 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
  • Add custom CSS across themes
  • Insert Facebook pixel code
  • Insert any code or script, including HTML and Javascript


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:

  • OptinMonster - Get More Email Subscribers
  • WPForms - Best Contact Form Builder Plugin
  • MonsterInsights - Best Google Analytics Plugin

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

  • WordPress Speed and Performance
  • WordPress Security
  • WordPress SEO

...and many more WordPress tutorials.

Releases (12 )

Version Release Date Change Log
1.4.5 2020-02-25
  • Tested compatibility with WordPress 5.3.2
  • Add support for printing scripts right after the opening body tag using the wp_body_open action
1.4.4 2019-05-14
  • Tested compatibility with WordPress 5.2
  • Updated text-domain standards and in plugin header
1.4.3 2018-06-07
  • Update FAQs
  • Introduce three new filters: disable_ihaf, disable_ihaf_footer, disable_ihaf_header
1.4.2 2017-07-02
  • Code cleanups
1.4.1 2017-03-08
  • Fixes for users running PHP version less than 5.5
1.4 2017-03-08
  • Tested with WordPress 4.7.2
  • cleaned up code
1.3.3 2015-08-10
  • Tested with WordPress 4.3
  • Fix: plugin_dir_path() and plugin_dir_url() used for Multisite / symlink support
1.3.2 2014-08-28
  • Fix: Dashboard widget logo URL when RSS feed cannot be loaded
  • Fix: WordPress 4.0 support
  • Added: POT language file
1.3.1 2014-04-25
  • Improved settings UI for WordPress 3.8+
  • Bumped minimum version requirement
1.3 2013-06-17
  • fixed readme file
1.2 2013-05-22
  • cleaned up code
1.1 2013-04-17
  • fixed unecessary CSS loading