Title: Insert Headers and Footers Code &#8211; HT Script
Author: HT Plugins
Published: <strong>17, Xunu de 2019</strong>
Last modified: 26, Febreru de 2026

---

Guetar plugins

![](https://ps.w.org/insert-headers-and-footers-script/assets/banner-772x250.png?
rev=2921380)

![](https://ps.w.org/insert-headers-and-footers-script/assets/icon-128x128.png?rev
=2921380)

# Insert Headers and Footers Code – HT Script

 By [HT Plugins](https://profiles.wordpress.org/htplugins/)

[Download](https://downloads.wordpress.org/plugin/insert-headers-and-footers-script.1.1.8.zip)

 * [Details](https://ast.wordpress.org/plugins/insert-headers-and-footers-script/#description)
 * [Reviews](https://ast.wordpress.org/plugins/insert-headers-and-footers-script/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/insert-headers-and-footers-script/#installation)
 * [Development](https://ast.wordpress.org/plugins/insert-headers-and-footers-script/#developers)

 [Support](https://wordpress.org/support/plugin/insert-headers-and-footers-script/)

## Description

Insert Headers and Footers Code allows you to insert Google Analytics, Facebook 
Pixel, custom CSS, custom HTML, JavaScript code to your website header and footer
without modifying your theme code.

This plugin has the option to add any custom code to your theme in one place, no
need to edit the theme code. It will save your time and remove the hassle for the
theme update.

Pro version is also available : [Check it out now!](https://hasthemes.com/plugins/insert-headers-and-footers-code-ht-script/)

### Video Documentation:

### Features:

 * Very easy to use
 * Insert Unlimited Scripts
 * Insert Code to header / footer
 * Add custom CSS/js to any theme
 * Add Google Analytics code
 * Add Facebook Pixel code
 * Show On Full website
 * Show on Only Homepage (Pro)
 * Show on Selected Pages (Pro)
 * Show on Selected Posts (Pro)
 * Show on Selected Categories (Pro)
 * Show on Selected Tags (Pro)
 * Exclude Pages (Pro)
 * Exclude Posts (Pro)

### Other Projects

We have a lot of plugins and extensions that might interest you. Try out other projects
by following this link:

**[Woolentor Addons](https://wordpress.org/plugins/woolentor-addons/)**
 Woolentor
is a WooCommerce page builder plugin that extends the functionality of the WooCommerce
store. These Elementor Addons provide additional features and options for WooCommerce
stores. Woolentor is the best alternative for ShopReady, Kadence, JetWidgets, ShopEngine,
and CoDesigner. The Woolentor addons come with 50+ free Elementor widgets like Wishlist
Extension Addon, Product compare, Product Filters, Product Variation Swatches, Shopify
Style Checkout, Product Slider and 50+ pro Elementor Widgets like Checkout Fields
Editor, Partial Payment, Email Customizer for WooCommerce with ready Email Templates,
WooCommerce Email Automation, Multi Step Checkout, and many much more. Also it provide
90+ WooCommerce Elementor templates, 22+ WooCommerce Modules, and Gutenberg Blocks.

**[HT Mega For Elementor](https://wordpress.org/plugins/ht-mega-for-elementor/)**

HT Mega is an Elementor Addons that comes with custom page builder, header builder,
footer builder, mega menus, and more for your Elementor based website. The HT Mega
plugin also includes a comprehensive set of Elementor widgets, readymade Elementor
templates and Elementor Blocks. HT Mega plugin works like ElementsKit, Essential
Addons for Elementor, Royal Elementor Addons, Premium Addons, Happy Addons, PowerPack
Addons, Unlimited Elements, Qi Addons, etc. The HT Mega plugin provides 84+ free
Elementor widgets like Post Grid widget, Slider widget, Accordion widget, Elementor
Forms widget, Contact Form Widget, Elementor tables, and other related items. It
also provides 18+ pro widgets like Filterable Gallery Widget, Event Box Widget, 
Breadcrumbs Widget, Elementor Facebook Review Widget, Elementor Category List Widget,
etc.

**[Hashbar Wp Notification Bar](https://wordpress.org/plugins/hashbar-wp-notification-bar/)**

HashBar is a WordPress Notification Bar Plugin that enables you to create unlimited
notification bars on your WordPress website. You can create as many notification
bars as you want and customize their content to meet your needs.

**[WP Plugin Manager – Deactivate plugins per page](https://wordpress.org/plugins/wp-plugin-manager/)**

WP Plugin Manager is the perfect solution for those who want to disable certain 
plugins on specific pages or posts. With this plugin, you can easily activate or
deactivate plugins on a per-page or per-post basis. Whichever plugin you don’t need
you can deactivate or disable that plugin with the help of WP plugin Manager.

**[Extensions For Cf7](https://wordpress.org/plugins/extensions-for-cf7/)**
 Contact
Form 7 is an excellent plugin for organizing your contact page. The CF7 extensions
plugin includes Contact Form 7 Database, enabling Conditional Fields for Contact
Form 7, etc. It allows fields to be set up as either visible or hidden depending
upon the input from visitors. In addition, integrating seamlessly with Mailchimp
brings leads generated every time someone fills out one form into an associated 
email list immediately.

**[Whols](https://wordpress.org/plugins/whols/)**
 Whols is an outstanding plugin
for WooCommerce that allows store owners to set wholesale prices for the products
of their online stores. With Whols, you can easily add custom fields to your registration
form, set minimum product requirements, and control how wholesale prices are displayed
on both the shop and product detail pages. Whols work like Wholesale Suite, B2Bking
and B2B plugins.

**[Just Tables](https://wordpress.org/plugins/just-tables/)**
 JustTables is a WooCommerce
product table plugin that helps you easily create and manage tables for your products.
It includes 28 pre-built columns with options to enable/disable, and you can add
custom columns with custom fields/taxonomies. Just Tables also allows you to order
table columns using drag and drop and set the number of products per page.

**[Swatchly](https://wordpress.org/plugins/swatchly/)**
 Swatchly is a WooCommerce
product variation swatches plugin that allows you to add color swatches to your 
product pages. With Swatchly, you can enable swatches for the shop, product list,
and product details pages. There are three swatch types (label swatche, color swatche,
image swatche), and the plugin supports multi-colored swatches.

**[HT Slider For Elementor](https://wordpress.org/plugins/ht-slider-for-elementor/)**

HT Slider For Elementor is a powerful and user-friendly slider addon for Elementor.
You can customize the look and feel of your slider with HT Slider’s custom styling
options. You also have the option to display your slides by id and category. Plus,
HT Slider For Elementor comes with custom design options for slider navigation and
pagination, so you can easily control the look and feel of your slider.

**[HT Contact form](https://wordpress.org/plugins/ht-contactform/)**
 HT Contact
Form 7 Widget is an Elementor addon that allows you to easily drag and drop Contact
Form 7 forms into your web pages. With the help of this plugin, you can choose your
form from the drop-down list, Custom Styling Options, and add it to any page or 
place on your website. The HT Contact Form 7 Widget is an essential tool for anyone
using Contact Form 7 on their website.

### Need Help?

Is there any feature that you want to get in this plugin?
 Needs assistance to use
this plugin? Feel free to [Contact us](https://hasthemes.com/contact-us/)

## Screenshots

 * [[
 * Scripts List
 * [[
 * Script Options
 * [[
 * Script Options

## Installation

This section describes how to install the Insert Headers and Footers plugin and 
get it working.

#### 1) Install

#### Modern Way:

 1. Go to the WordPress Dashboard “Add New Plugin” section.
 2. Search For “Insert Headers and Footers Script”.
 3. Install, then Activate it.

#### Old Way:

 1. Unzip (if it is zipped) and Upload `insert-headers-and-footers-script` folder to
    the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

#### 2) Configure

 1. After activating the plugin, a new menu will appear in, your dashboard named ‘Header
    and Footer scripts’
 2. Create new script and publish!

## Reviews

![](https://secure.gravatar.com/avatar/b18d403d727c86745c8763c56bebd6d615f431ce28404575991b03e9a44feec0?
s=60&d=retro&r=g)

### 󠀁[Site returned to one.com](https://wordpress.org/support/topic/site-returned-to-one-com/)󠁿

 [chilichote](https://profiles.wordpress.org/chilichote/) 15, Febreru de 2026

Hello, I have returned from Wealthy Affiliates to one.com last week. So it will 
take some time to get aquinted with the add-on.

![](https://secure.gravatar.com/avatar/47d9ca840f80f5154b097a08735eb38096cf485cad5c17fa9b643e4e725b0942?
s=60&d=retro&r=g)

### 󠀁[it works!!](https://wordpress.org/support/topic/it-works-2577/)󠁿

 [wellpraxis](https://profiles.wordpress.org/wellpraxis/) 20, Ochobre de 2025 1 
reply

Yeah, super simple and easy. Thank you devs!

![](https://secure.gravatar.com/avatar/61c686f9ac3c8f7738ab5d2491cf543f005b772151b4372ad4356a8223edbe3a?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-3663/)󠁿

 [astroxaman](https://profiles.wordpress.org/astroxaman/) 9, Setiembre de 2025 1
reply

This plug in resolve many problems when I was making my site

![](https://secure.gravatar.com/avatar/e8c45562a4c61007fd3ed78a3c09e2c4c87ae8825cb1a466dbb9121b9bf61dbd?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/good-8779/)󠁿

 [sagard39](https://profiles.wordpress.org/sagard39/) 18, Febreru de 2025 1 reply

helped in applying custom scripts without much hardwork

![](https://secure.gravatar.com/avatar/6671cc1e25abc2019ad1e5621313c7b5bb1a63363a305e87031c687132761635?
s=60&d=retro&r=g)

### 󠀁[Excellent application](https://wordpress.org/support/topic/excellent-application-13/)󠁿

 [maggieoco1946](https://profiles.wordpress.org/maggieoco1946/) 30, Payares de 2024
1 reply

I really like the way this application allows you to specify individual names for
code additions so I don’t have to search through the entire header or footer to 
find which code stanzas to modify.

![](https://secure.gravatar.com/avatar/f0615389c01a8e499e1ec2ad3477a8abf69464f92a1242ee14b6a1a560df65c6?
s=60&d=retro&r=g)

### 󠀁[Very easy to use and super helpful](https://wordpress.org/support/topic/very-easy-to-use-and-super-helpful/)󠁿

 [janka.vojtkova](https://profiles.wordpress.org/jankavojtkova/) 30, Xunetu de 2022

I am very satisfied with this plugin. Ultra-simple using and makes exactly what 
it should.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/)

## Contributors & Developers

“Insert Headers and Footers Code – HT Script” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ HT Plugins ](https://profiles.wordpress.org/htplugins/)
 *   [ HasThemes ](https://profiles.wordpress.org/hasthemes/)
 *   [ DevItems ](https://profiles.wordpress.org/devitemsllc/)
 *   [ Zenaul Islam ](https://profiles.wordpress.org/zenaulislam/)
 *   [ Aslam Hasib ](https://profiles.wordpress.org/aslamhasib/)

[Translate “Insert Headers and Footers Code – HT Script” into your language.](https://translate.wordpress.org/projects/wp-plugins/insert-headers-and-footers-script)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/insert-headers-and-footers-script/),
check out the [SVN repository](https://plugins.svn.wordpress.org/insert-headers-and-footers-script/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/insert-headers-and-footers-script/)
by [RSS](https://plugins.trac.wordpress.org/log/insert-headers-and-footers-script/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Version: 1.1.8 – Date: 26 Feb 2026

 * Improved: Admin notice display.

#### Version: 1.1.7 – Date: 30 Oct 2025

 * Fixed: Restricted script access to users with proper capabilities.
 * Fixed: Sanitization callback to validate user capabilities before saving scripts.

#### Version: 1.1.6 – Date: 22 July 2025

 * Added: Status column in post list to show script status
 * Improved: Metabox query performance.

#### Version: 1.1.5 – Date: 17 June 2025

 * Fixed: Translation issues have been resolved in multiple areas.
 * Fixed: Escaping issues have been resolved in multiple areas.

#### Version: 1.1.4 – Date: 16 April 2025

 * Added: Compatibility with the latest WordPress version.

#### Version: 1.1.3 – Date: 25 March 2025

 * Updated: User permission checks for better role-based access control in AJAX 
   handling.
 * Fixed: Minor issues related to dismissing admin notices.

#### Version: 1.1.2 – Date: 16 May 2024

 * Tweak: Opt-in message to provide non-sensitive diagnostic data.
 * Fixed: Escaping issues have been resolved in multiple areas.

#### Version: 1.1.1 – Date: 05 June 2023

 * Enhanced some option name labels
 * Updated language file

#### Version: 1.1.0 – Date: 25 Feb 2023

 * Fixed: PHP version compatibility issue for file naming

#### Version: 1.0.9 – Date: 22 Feb 2023

 * Update: CMB2 to latest version.
 * Fixed: Inactive status option not working.

#### Version: 1.0.8 – Date: 26 Sep 2021

 * Added Recommendation Menu
 * Compatibility with latest WordPress version

#### Version: 1.0.7 – Date: 18 Nov 2021

 * Added: settings menu in pluign’s action link.

#### Version: 1.0.6 – Date: 05 Sep 2021

 * Added: Option to set script just below the body tag
 * Added: Recommendations

## Commercial plugin

This plugin is free but offers additional paid commercial upgrades or support. [View support](https://portal.hasthemes.com/contact/)

## Meta

 *  Version **1.1.8**
 *  Last updated **2 meses ago**
 *  Active installations **7.000+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/insert-headers-and-footers-script/)
 * Tags
 * [Facebook Pixel](https://ast.wordpress.org/plugins/tags/facebook-pixel/)[google analytics](https://ast.wordpress.org/plugins/tags/google-analytics/)
   [inject code](https://ast.wordpress.org/plugins/tags/inject-code/)[inject html](https://ast.wordpress.org/plugins/tags/inject-html/)
   [inject javascript](https://ast.wordpress.org/plugins/tags/inject-javascript/)
 *  [Advanced View](https://ast.wordpress.org/plugins/insert-headers-and-footers-script/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/insert-headers-and-footers-script/reviews/)

## Contributors

 *   [ HT Plugins ](https://profiles.wordpress.org/htplugins/)
 *   [ HasThemes ](https://profiles.wordpress.org/hasthemes/)
 *   [ DevItems ](https://profiles.wordpress.org/devitemsllc/)
 *   [ Zenaul Islam ](https://profiles.wordpress.org/zenaulislam/)
 *   [ Aslam Hasib ](https://profiles.wordpress.org/aslamhasib/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/insert-headers-and-footers-script/)