tag)n- Ability to recognize and execute PHP code for adding logic to your injectionsn- Distinct desktop and mobile injections" } },{ "@type": "Question", "name": "Does the Header and Footer plugin support AMP?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, the Header and Footer plugin has a dedicated AMP section that is compatible with AMP plugins. You can inject specific codes in AMP pages." } },{ "@type": "Question", "name": "Can you add codes on top, bottom, and in the middle of posts and pages using the Header and Footer plugin?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, with the Header and Footer plugin, you can add codes on top, bottom, and in the middle of posts and pages. You can also differentiate between mobile and desktop injections, as well as configure separate settings for posts and pages." } },{ "@type": "Question", "name": "Is there a specific injection for bbPress?", "acceptedAnswer": { "@type": "Answer", "text": "No, the specific bbPress injections are going to be removed. It is recommended to switch to the Ads for bbPress plugin, which offers more flexibility and completeness." } }] }
Head, Footer and Post Injections

Head, Footer and Post Injections

Header and Footer plugin let you to add html code to the head and footer sections of your blog page, inside posts… and more!
Rating:
4.9
Active Installations:
400000+
Last Updated:
Apr 18, 2024
WordPress Version:
5.1 or higher
Tested up to:
6.5.2

Streamlined Code Management

Easily manage Google Analytics, Facebook Pixel, custom tracking code, and more with just one plugin.

Theme Independent

Change your theme without losing injected code, thanks to Header and Footer plugin.

Targeted Injections

Add codes at specific locations like page sections, after the tag, and in the footer, with separate configurations for desktop and mobile.

Post Customization

Inject banners and ads at the top, bottom, and middle of posts and pages, with options for different formats on mobile and desktop.

3.2.8

  • WP 6.5.2

3.2.7

  • Added Custom Post Types

3.2.6

  • Fixed PHP short open tag

3.2.5

  • Removed obsolete code
  • Escaped added to fixed and translated strings

3.2.4

  • Possible security fix

3.2.3

  • Updated meta information

3.2.2

  • Fixed a couple of links in readme.txt
  • Updated compatibility with WP 5.7

3.2.1

  • Fixed a PHP notice on admin side when creating a new page

3.2.0

  • Restored controls of per post injection
  • Compatibility check with latest WP
  • Moved to PHP 5.6 syntax

3.1.6

  • Fixed check_admin_referrer action

3.1.5

  • Fixed wrong injection in amp pages

3.1.4

  • Performance optimization
  • Removed obsolete code
  • Improved AMP support
  • (Temporary) removed metaboxes (they were not working anyway)

3.1.3

  • General compatibility check with latest WP

3.1.2

  • Fixed a debug notice

3.1.1

  • Privacy section in the readme.txt

3.1.0

  • Removed the Facebook setting (move to a specialized plugin to have the Facebook Open Graph Meta)
  • Removed bbPress setting (please use bbpress ads)
  • Label fix
  • Removed notices
  • 5 post injections and 5 generic injections

Simple. Effective

By arrowheadpark on March 30, 2024

This plugin has been great to work with. No problems.

Simply works

By willemfm on March 4, 2024

Perfect! Plugin works flawlessly and effortlessly.

Great plugin, staple of sites I build

By mrforsythexeter on March 1, 2024

Couldn't be simpler to use.

Excellent Plugin

By cath31 on February 25, 2024

Je l'utilise depuis plusieurs mois et je n'ai eu aucun problème. Il m'est très utile.

Does The Job

By thebish75 on February 16, 2024

Does the job it is intended to do.

Faff free header injection

By steveroot on February 2, 2024

This plugin is perfect.

Add custom code (for me, a javascript file for plausible.io integration) into whichever parts of your templates you need. Clear and concise separation and options for locations (Add this to header, add this only on the home page header, add this after the body, add this to AMP pages... and many more than I need).

Everything I need and more

By omnipolar on January 9, 2024

Fantastic plugin! Comprehensive and detailed options.

Thank you!

Extremely useful

By psiworks on January 4, 2024

Extremely useful! Always there when I need it.

An easy to drop in some global code.

By antdx on October 5, 2023

An easy to drop in some global code. I use it to put a bubble on the bottom right for adabundle.

It works!

By russellv on August 15, 2023

This plugin works well, and it is easy to use. I use this plugin on several websites. It saves me time. I recommend using this plugin.

Try other plugins too!

NK Google Analytics

NK Google Analytics for Wordpress adds necessary javascript to enable Google Analytics tracking on your website.

Try Demo

WP Statistics

This plugin gives you the complete information on your website's visitors.

Try Demo

Google Listings & Ads

Native integration with Google that allows merchants to easily display their products across Google’s network.

Try Demo

Try Head, Footer and Post Injections With InstaWP

Request demo

Wondering how to integrate InstaWP with your current workflow? Ask us for a demo.

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.