Type to search.

#211 by installs

Head, Footer and Post Injections

by Stefano LissaVersion 3.3.6

Head and Footer plugin lets you to add HTML code to the head and footer sections of your site pages, inside posts... and more!

Active installs
200,000+
#211 of 1,000
Downloads, all time
5.9M
5,881,057
Downloads, 30 days
19K
4.8K in the last 7
Rating
4.9 / 5
735 reviews
Last updated
7 months ago
Mar 28, 2026
Version
3.3.6
24 releases

Upkeep and compatibility

Last updatedMarch 28, 2026Updated in the last year
Tested up toWordPress 6.9.11Older than WordPress 7.1.4, the current release
Needs WordPress6.1 or newer
Needs PHP7.0 or newer
First publishedApril 7, 2008
Support, last two months0 of 1 threads resolved (0%)

Reviews

4.9 / 5 from 735 reviews

Reviews by star rating
5 stars711
4 stars13
3 stars4
2 stars1
1 star6

Downloads, last 30 days

Low 390 a dayHigh 1.6K a day

What the author says it does

Why you have to install 10 plugins to add Google Analytics, Facebook Pixel, custom

tracking code, Google DFP code, Google Webmaster/Alexa/Bing/Tradedoubler verification code and so on…

With Header and Footer plugin you can just copy the code those services give you

in a centralized point to manage them all. And theme independent: you can change your theme

without loosing the code injected!

Injection points and features

  • in the page section where most if the codes are usually added
  • just after the tag as required by some JavaScript SDK (like Facebook)
  • in the page footer (just before the tag)
  • recognize and execute PHP code to add logic to your injections
  • distinct desktop and mobile injections

AMP

A new AMP dedicated section compatible with AMP plugin lets you to inject specific codes in

AMP pages. Should be ok even with other AMP plugins.

Post Top and Bottom Codes

Do you need to inject a banner over the post content or after it? No problem. With Header and

Footer you can:

  • Add codes on top, bottom and in the middle of posts and pages
  • Differentiate between mobile and desktop (you don’t display the same ad format on both, true?)
  • Separate post and page configuration
  • Native PHP code enabled
  • Shortcodes enabled

Special Injections

  • Just after the opening BODY tag
  • In the middle of post content (using configurable rules)

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Latest changelog entry

3.3.6

  • Version number fix

Tagged

Plugins that share its tags

#105 by installs

Header Footer Code Manager

by DraftPress Team

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing, or chat features.

Installs
600,000+
Rating
4.9 (309)
Updated
4 months ago

#198 by installs

Ad Inserter – Ad Manager & AdSense Ads

by Spacetime

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer code, PHP code, global custom fields

Installs
300,000+
Rating
4.9 (2.4K)
Updated
3 days ago

#204 by installs

Insert Headers And Footers

by Adnan

Include inline javascript, stylesheets, CSS code or anything you want in Header and Footer areas of your WordPress with ease.

Installs
200,000+
Rating
5.0 (135)
Updated
12 days ago

#246 by installs

Header and Footer Scripts

by Anand Kumar

Header and Footer Scripts plugin allows you to add scripts to WordPress site's and just before closing tag.

Installs
200,000+
Rating
4.6 (58)
Updated
9 months ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.