Title: Insert Headers And Footers
Author: Adnan
Published: <strong>20. April 2017</strong>
Last modified: 19. Oktober 2026

---

Plugins suchen

![](https://ps.w.org/wp-headers-and-footers/assets/banner-772x250.gif?rev=2753888)

![](https://ps.w.org/wp-headers-and-footers/assets/icon-256x256.png?rev=2265239)

# Insert Headers And Footers

 Von [Adnan](https://profiles.wordpress.org/hiddenpearls/)

[Herunterladen](https://downloads.wordpress.org/plugin/wp-headers-and-footers.3.2.0.zip)

 * [Details](https://de.wordpress.org/plugins/wp-headers-and-footers/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/wp-headers-and-footers/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/wp-headers-and-footers/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/wp-headers-and-footers/#developers)

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

## Beschreibung

WP Headers and Footers plugin helps you to insert code to your WordPress website
headers and footers section like Google Analytics tracking code, Facebook Pixels
code, Google Optimize code for A/B testing, Custom CSS code, and more. You don’t
need to edit the theme files to insert the code.

The simple interface of this plugin allows you to add code and different scripts
from one place to your WordPress website (**Headers, Footers, and Body section**).

**Funktionen**

 * Insert code to your WordPress headers & Footers
 * Insert Google Analytics Code to any WordPress theme
 * Insert Facebook Pixels Code
 * Add Google Optimize Code for A/B testing ( Ab Testing )
 * Add Google search console authentication code to any theme for verification
 * Add Custom CSS, any script, and HTML to your website
 * Google Tag Manager code/script insertion
 * You can also add microsoft clarity tracking code to your website
 * You can also insert code to your website body section
 * Can add Bing webmaster tool code for website verification
 * Add Google AdSense code

**If you find our plugin useful, please leave a good rating/review and check our
other plugins.**

 * [Analytify – Google Analytics Plugin](https://analytify.io/ref/73/?utm_source=wp-headers-and-footers&utm_medium=readme&utm_campaign=pro-upgrade)
 * [LoginPress](https://loginpress.pro/?utm_source=wp-headers-and-footers) – For
   Custom login page and login page security
 * [Simple Social Buttons](https://simplesocialbuttons.com?utm_source=wp-headers-and-footers&utm_medium=readme&utm_campaign=pro-upgrade)–
   Plugin for Social share buttons and social icons
 * [Related Posts Thumbnails Plugin](https://wordpress.org/plugins/related-posts-thumbnails/)–
   For related posts/products
 * [Under Construction, Coming Soon & Maintenance Mode](https://wpbrigade.com/recommend/maintenance-mode?utm_source=wp-headers-and-footers&utm_medium=readme&utm_campaign=pro-upgrade)–
   Plugin for Under construction & Coming soon page

## Screenshots

[⌊Add Header Scripts in Settings Panel.⌉⌊Add Header Scripts in Settings Panel.⌉[

Add Header Scripts in Settings Panel.

[⌊Add Body Scripts in Settings Panel.⌉⌊Add Body Scripts in Settings Panel.⌉[

Add Body Scripts in Settings Panel.

[⌊Add Footer Scripts in Settings Panel.⌉⌊Add Footer Scripts in Settings Panel.⌉[

Add Footer Scripts in Settings Panel.

## Installation

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

#### 1) Installieren

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

#### 2) Konfigurieren

 1. Reach out to the Settings->WP Headers and Footers Page

## FAQ

### Why this plugin is needed?

It helps for WordPress users to add a JS/CSS code directly in their site without
touching their themes or plugins.

### Can we use this Headers and Footers plugin to setup Google Analytics on a WordPress site?

Yes, you can insert Google Analytics tracking code to your website with this Headers
and Footers plugin.

### Can we use this Headers and Footers plugin to verify our website on different platforms?

Yes, you can use Headers and Footers plugin to verify your website on different 
platforms like Google Search Console, Bing Webmaster Tool, and Pinterest website
verification by adding the verification code in the header section.

### How many sections we can insert the code in this plugin?

You can insert code in Header, Body and Footer areas of any WordPress site.

## Rezensionen

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

### 󠀁[Nice – works](https://wordpress.org/support/topic/nice-works-16/)󠁿

 [dipo](https://profiles.wordpress.org/danadidik/) 7. September 2026

It works. Simple. Great for simple sites

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

### 󠀁[Bagus](https://wordpress.org/support/topic/bagus-48/)󠁿

 [mampirjakarta1995](https://profiles.wordpress.org/mampirjakarta1995/) 10. August
2026 1 Antwort

Mudah untuk di gunakan

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

### 󠀁[Just use it](https://wordpress.org/support/topic/just-use-it-9/)󠁿

 [choeungul](https://profiles.wordpress.org/choeungul/) 4. Juli 2026

Super easy to use. My main problem with footer and header just disappeared. It's
not clunky or not heavy at all. Highly recommended. Thank you very much.

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

### 󠀁[Easy Way to Add Custom Code](https://wordpress.org/support/topic/easy-way-to-add-custom-code/)󠁿

 [Riya Patel](https://profiles.wordpress.org/riyapatelwork20/) 16. Juni 2026

Excellent plugin. Simple to use, lightweight, and works exactly as expected. It 
helped me add custom code to my website without modifying theme files. Highly recommended.

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

### 󠀁[Very good plugin](https://wordpress.org/support/topic/very-good-plugin-3073/)󠁿

 [gregolly](https://profiles.wordpress.org/gregolly/) 8. Mai 2026

very good

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

### 󠀁[Great](https://wordpress.org/support/topic/great-17099/)󠁿

 [justdoitolejkakova2107](https://profiles.wordpress.org/justdoitolejkakova2107/)
11. Mai 2026

Great

 [ Alle 135 Rezensionen lesen ](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/)

## Mitwirkende und Entwickler

„Insert Headers And Footers“ ist Open-Source-Software. Folgende Menschen haben an
diesem Plugin mitgewirkt:

Mitwirkende

 *   [ Adnan ](https://profiles.wordpress.org/hiddenpearls/)
 *   [ WPBrigade ](https://profiles.wordpress.org/wpbrigade/)
 *   [ Muhammad Irfan ](https://profiles.wordpress.org/desideveloper/)

„Insert Headers And Footers“ wurde in 10 Sprachen übersetzt. Danke an [die Übersetzer](https://translate.wordpress.org/projects/wp-plugins/wp-headers-and-footers/contributors)
für ihre Mitwirkung.

[Übersetze „Insert Headers And Footers“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/wp-headers-and-footers)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/wp-headers-and-footers/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/wp-headers-and-footers/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/wp-headers-and-footers/)
per [RSS](https://plugins.trac.wordpress.org/log/wp-headers-and-footers/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 3.2.0 – 2026-10-19

 * Bugfix: Saved scripts no longer lose backslashes on the frontend (fixes regexes,
   escaped quotes and JSON-LD).
 * Bugfix: Corrected priority placeholders and the footer scripts help text.
 * Bugfix: Fixed the settings tab flickering and code editors not rendering correctly
   on first load.
 * Bugfix: Settings saved notice now dismisses automatically.
 * Bugfix: Fixed code editor width and overflow issues on the settings page.
 * Security: Adding or changing scripts now requires the unfiltered_html capability(
   respects DISALLOW_UNFILTERED_HTML and multisite site admins).
 * Security: Hardened redirect handling and internal path validation.
 * Security: Escaped placeholder attributes in settings fields.
 * Enhancement: Refreshed admin UI with improved mobile responsiveness.
 * Enhancement: General code refactoring and internal cleanup.
 * Compatibility: Compatible with WordPress 7.1.

#### 3.1.5 – 2026-07-16

 * Enhancement: General code refactoring and internal cleanup.
 * Compatibility: Compatible with WordPress 7.0.
 * Compatibility: Compatible with PHP 8.5.

#### 3.1.4 – 2026-03-17

 * Security: Added nonce verification and capability checks to prevent CSRF attacks.

#### 3.1.3 – 2025-08-06

 * Bugfix: Fixed download log file functionality issue.
 * Enhancement: Improved data validation and security measures.
 * Enhancement: Addressed RTL layout styling inconsistencies in admin dashboard.

#### 3.1.2 – 2025-04-18

 * Security Fix: Sanitize option value from debug mode.
 * Enhancement: Update Languages (POT) file.
 * Compatibility: Compatible with WordPress 6.8

#### 3.1.1 – 2025-01-03

 * Bugfix: PHP Warning for translation hook.

#### 3.1.0 – 2024-12-04

 * New Feature: Introduced new option to reset the scripts/settings of the plugin.
 * Compatibility: Compatible with WordPress 6.7

#### 3.0.0 – 2024-09-11

 * Security Fix: Fixed Opt-out and Opt-in consent.
 * Enhancement: Code re-factorization and optimization.

#### 2.2.2 – 2024-08-22

 * Enhancement: Code re-factorization and optimization.
 * Compatibility: Compatible with WordPress 6.6

#### 2.2.1 – 2024-07-30

 * Enhancement: Apply min/max limit for the script priority value.
 * Compatibility: Compatible with WordPress 6.6

#### 2.2.0 – 2024-03-18

 * Enhancement: Provided admin role access in multi-site to update scripts.
 * Enhancement: Addressed dashboard style issue to prevent text overflow.
 * Enhancement: Optimized code for improved performance.
 * Compatibility: Compatible with WordPress 6.5

#### 2.1.1 – 2024-01-09

 * Bugfix: Warning with PHP 8.3 in Diagnostic log.
 * Enhancement: Update data in Diagnostic log.
 * Compatibility: Compatible with PHP 8.3 and WordPress 6.4

#### 2.1.0 – 2023-11-07

 * New Feature: Introduced an option for removing the scripts/settings during un-
   installation of the plugin.
 * Compatibility: Compatible with WordPress 6.4

#### 2.0.3 – 2023-10-26

 * Enhancement: Introduced diagnostic log feature helps in product support.
 * Compatibility: Compatible with WordPress 6.3

#### 2.0.2 – 2023-08-09

 * Enhancement: content updates.
 * Compatibility: Compatible with WordPress 6.3

#### 2.0.1 – 2022-11-02

 * Enhancement: Update Languages (POT) file.
 * Compatibility: Compatible with WordPress 6.0

#### 2.0.0 – 2022-05-19

 * New Feature: Introducing settings to set the priority for each header, footer
   or body script’s location.
 * Enhancement: Introducing new dashboard design layout.
 * Enhancement: Added a review notification for administrator only.
 * Compatibility: Compatible with WordPress 6.0

= 1.3.2 – 2022-02-18
 * Enhancement: Added a filter `wp_hnf_header_script` to enhance
the header scripts. * Enhancement: Added a filter `wp_hnf_body_script` to enhance
the body scripts. * Enhancement: Added a filter `wp_hnf_footer_script` to enhance
the footer scripts. * Compatibility: Compatible with WordPress 5.9.

= 1.3.1 – 2021-12-01
 * Enhancement: Code Optimization. * Enhancement: Add compatibility
of Mozilla Firefox on dashboard settings. * Compatibility: Compatible with WordPress
5.8. * Compatibility: Compatible with PHP 8.0.

= 1.3.0 – 2021-06-05
 * New Feature: Introducing Code Editor for writing scripts.*
Bugfix: Plugin language domain updated to ‚wp-headers-and-footers‘ * Enhancement:
Dashboard design updated. * Enhancement: Code Optimization. * Compatibility: Compatible
with WordPress 5.7.

= 1.2.2 – 2021-04-04
 * Compatibility: Compatible with WordPress 5.7. * Compatibility:
PHP 8.0 * Enhancement: Code Optimization.

#### 1.2.1 – 2020-12-08

 * Compatibility: Compatible with WordPress 5.6.
 * Bugfix: PHP Error.

#### 1.2.0 – 2020-12-08

 * Bugfix: Remove PHP 7 deprecated function.

#### 1.1.0 – 2020-03-21

 * Compatibility: Compatible with WordPress 5.4.
 * Enhancement: Dashboard Design updated.

#### 1.0.0

 * Initial Release.

## Kommerzielles Plugin

Dieses Plugin ist kostenlos, bietet aber zusätzliche kostenpflichtige kommerzielle
Upgrades oder Support an. [Support anzeigen](https://analytify.io/pricing/?utm_source=header-footer-wp-org&utm_medium=commercial_tab&utm_campaign=pro-upgrade&utm_content=view_support)

## Meta

 *  Version **3.2.0**
 *  Zuletzt aktualisiert **vor 4 Wochen**
 *  Aktive Installationen **200.000+**
 *  WordPress-Version ** 5.0 oder höher **
 *  Getestet bis **7.1.4**
 *  PHP-Version ** 7.0.0 oder höher **
 *  Sprachen
 * [Danish](https://da.wordpress.org/plugins/wp-headers-and-footers/), [Dutch](https://nl.wordpress.org/plugins/wp-headers-and-footers/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/wp-headers-and-footers/),
   [English (UK)](https://en-gb.wordpress.org/plugins/wp-headers-and-footers/), 
   [English (US)](https://wordpress.org/plugins/wp-headers-and-footers/), [Galician](https://gl.wordpress.org/plugins/wp-headers-and-footers/),
   [Japanese](https://ja.wordpress.org/plugins/wp-headers-and-footers/), [Russian](https://ru.wordpress.org/plugins/wp-headers-and-footers/),
   [Serbian](https://sr.wordpress.org/plugins/wp-headers-and-footers/), [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-headers-and-footers/)
   und [Spanish (Spain)](https://es.wordpress.org/plugins/wp-headers-and-footers/).
 *  [Übersetze in deine Sprache](https://translate.wordpress.org/projects/wp-plugins/wp-headers-and-footers)
 * Schlagwörter
 * [custom css](https://de.wordpress.org/plugins/tags/custom-css/)[Facebook Pixel](https://de.wordpress.org/plugins/tags/facebook-pixel/)
   [footer](https://de.wordpress.org/plugins/tags/footer/)[google analytics](https://de.wordpress.org/plugins/tags/google-analytics/)
   [header](https://de.wordpress.org/plugins/tags/header/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/wp-headers-and-footers/advanced/)

## Bewertungen

 5 von 5 Sternen.

 *  [  134 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?filter=5)
 *  [  1 4-Sterne-Rezension     ](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?filter=1)

[Deine Rezension](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/)

## Mitwirkende

 *   [ Adnan ](https://profiles.wordpress.org/hiddenpearls/)
 *   [ WPBrigade ](https://profiles.wordpress.org/wpbrigade/)
 *   [ Muhammad Irfan ](https://profiles.wordpress.org/desideveloper/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/wp-headers-and-footers/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://wpbrigade.com/go/donate-header-footer)