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.
How to install Head, Footer and Post Injections
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Head, Footer and Post Injections” and pick the one by Stefano Lissa.
- 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 --activateRequirements: 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.
// Filter in admin/options.php
apply_filters( 'hefo_php_exec', $options['enable_php'] );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.