PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Head
  4. Header and Footer Scripts
Header and Footer Scripts icon

Header and Footer Scripts

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

By Anand Kumar·Head·Free
4.6(58 reviews)
·200K+ active installs·Updated 2 months ago
DownloadVisit HomepageCompare

As of April 2026, Header and Footer Scripts is a WordPress head plugin with 200K+ active installations and a 4.6/5 rating from 58 reviews. It has been downloaded 1.6M+ times in total. Requires WordPress 4.6+ and PHP 5.6+. Available on WordPress.org since 2014. Recently updated within the last 3 months. Downloads are down 14% this week. Top alternative: Head & Footer Code.

4.6/558 reviews
200K+active installs
1.6M+total downloads
12 yearssince 2014

Overview

An essential WordPress plugin to easily insert scripts and styles (like Google Analytics, CSS, etc.) into your website’s header and footer.

Looking for a way to add Google Analytics, Facebook Pixel, or custom tracking code to your website’s header or footer?

Header and Footer Scripts is a simple yet powerful plugin that lets you inject code—such as Google Analytics, custom CSS, Facebook Pixel, and chat widgets—directly into your site’s header (<head>) or footer.

No bloat, no ads. This lightweight plugin simply does what it says: inserts code into your header and footer efficiently.

All you have to do is add the appropriate HTML code.

Don’t forget to wrap your code with proper tags.

<script type="text/javascript">
YOUR JS CODE HERE
</script>

Or fo…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.658 reviews
5 ★
48
4 ★
1
3 ★
4
2 ★
3
1 ★
2

Recent Reviews

It’s okay… SAVE validation missing
by Yume·1 month ago

Add a validation confirmation on save. Simple.
No one can tell that it’s saved.

  • This topic was modified 1 month ago by Yume.
Excellent plugin
by leaderotmane·2 months ago

One of the most useful plugins. I was looking for a plugin that allows adding Metadata. Then I founs this, and it is very useful. Thanks a lot for your efforts guys.

P.S. Thank you for the last update. It corrects some errors.

Saved my bacon
by DB·8 months ago

I’ve recently switched themes, and my previous theme allowed me to add custom CSS directly from the page editor. Unfortunately, my new theme lacks this feature. This plugin appears to be the only one that restores that functionality, enabling me to inject CSS specifically for individual pages. While other plugins offer global injection, which is certainly useful, I find that for unique pages like the homepage or special types, it’s essential to have the ability to add targeted styles without affecting the rest of the site. This plugin is a great solution for that!

P.S. No bacon was saved during or after this message. Nom nom nom. lol.

Very Good
by weegleshops·2 years ago

Awesome application works very well

Very Helpful
by Rizwan Ahmed·2 years ago

If I could give more than 5 stars, I would. This plugin is a must-have for anyone running a WordPress site. It’s made my life so much easier.

Download Trends

Today: 604Yesterday: 648This week: 5KPeriod total: 305K

Compatibility

WordPress4.6+ requiredTested up to 6.9.4
PHP5.6+ required

Version Adoption

v2.2
50.5%
v2.4
42.4%
v2.1
6.8%
Other
0.3%

Top Alternatives to Header and Footer Scripts

Head &amp; Footer Code icon
Head & Footer Code
5100K+ installsUpdated 2 days ago
ViewCompare
Scripts To Footer icon
Scripts To Footer
4.78.0K+ installsUpdated 4 months ago
ViewCompare
HiFi (Head Injection, Foot Injection) icon
HiFi (Head Injection, Foot Injection)
4.82.0K+ installsUpdated 15 years ago
ViewCompare
wp_head() cleaner icon
wp_head() cleaner
52.0K+ installsUpdated 4 months ago
ViewCompare
Speed Up &#8211; JavaScript To Footer icon
Speed Up – JavaScript To Footer
4.31.0K+ installsUpdated 3 years ago
ViewCompare
View all head plugins →

Frequently Asked Questions

Changelog

2.4.2

  • Fix: Resolved critical issue where scripts added to per-post meta box were not saving.
  • Fix: Corrected CodeMirror editor rendering (borders, height) and gutter visibility (line numbers) in meta box.
  • Improvement: Updated English copy throughout the plugin for better clarity and professionalism.
  • New: Added Hindi (hi_IN) translation.
  • New: Included language template (.pot) and translation files.
View full changelog on WordPress.org

Contributors

jamifyjamifyAnand KumarAnand Kumar
Plugin Info
Version
2.4.2
Last Updated
Feb 1, 2026
WP Requires
4.6+
Tested Up To
6.9.4
PHP Requires
5.6+
Active Installs
200K+
Downloads
1.6M+
Added
Feb 20, 2014
Business
Free

Tags

headpostfooterheaderscripts

Developer

A
Anand Kumar
2 plugins0.2M+ total installs
View all plugins →

Quick Compare

Header and Footer Scripts vs Head & Footer Code→Header and Footer Scripts vs Scripts To Footer→Header and Footer Scripts vs HiFi (Head Injection, Foot Injection)→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.