Head, Footer and Post Injections icon
Ads & Monetisation

Head, Footer and Post Injections

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

  • By Stefano Lissa
  • v3.3.6
  • Updated

Overview

Head, Footer and Post Injections describes itself as: “Head and Footer plugin lets you to add HTML code to the head and footer sections of your site pages, inside posts... and more!”

It is active on 200,000+ WordPress sites and rated 4.9 out of 5 by 735 users on WordPress.org. Developers can extend it through 0 actions and 1 filters, listed below.

We haven't published a hands-on review of Head, Footer and Post Injections yet. Want one, or need help with it? Send us a request.

How to install Head, Footer and Post Injections

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Head, Footer and Post Injections” and pick the one by Stefano Lissa.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install header-footer --activate

Requirements: WordPress 6.1+ · PHP 7.0+ · tested up to WordPress 6.9.11

Hooks & customisation

Head, Footer and Post Injections 3.3.6 fires 0 actions and 1 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

header-footer — top hooks
// Filter in admin/options.php
apply_filters( 'hefo_php_exec', $options['enable_php'] );

Browse all 1 hooks with examples →

Need Head, Footer and Post Injections customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Stefano Lissa. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

Alternatives in Ads & Monetisation

See all →

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful…

5+ million installs 91 hooks
Ad Inserter icon

Ad Inserter

2,435

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

300,000+ installs Reviewed 24 hooks

Create, manage, and validate your ads.txt and app-ads.txt from within WordPress, like any other content asset.

100,000+ installs 2 hooks

A simple image widget that uses the native WordPress media manager to add image widgets to your site.

100,000+ installs 23 hooks