Insert Headers and Footers by WPBeginner

Descrizione

Easily Insert Header and Footer Code

Insert Headers and Footers is a simple plugin that lets you insert code like Google Analytics, custom CSS, Facebook Pixel, and more to your WordPress site header and footer. No need to edit your theme files!

The simple interface of the Insert Headers and Footers plugin gives you one place where you can insert scripts, rather than dealing with dozens of different plugins.

Features of Insert Headers and Footers

  • Quick to set up
  • Simple to insert scripts
  • Insert header code and/or footer code
  • Add Google Analytics code to any theme
  • Add custom CSS across themes
  • Insert Facebook pixel code
  • Insert any code or script, including HTML and Javascript

Credits

This plugin is created by Syed Balkhi and the WPBeginner team.

What’s Next

If you find this plugin useful to insert header and footer scripts, please leave a good rating and consider checking out our other projects:

  • OptinMonster – Get more email subscribers with the most popular conversion optimization plugin for WordPress.
  • WPForms – #1 drag & drop online form builder for WordPress (trusted by 5 million sites).
  • MonsterInsights – See the stats that matter and grow your business with confidence. Best Google Analytics plugin for WordPress.
  • SeedProd – Create beautiful landing pages with our powerful drag & drop landing page builder.
  • WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.
  • RafflePress – Best WordPress giveaway and contest plugin to grow traffic and social followers.
  • Smash Balloon – #1 social feeds plugin for WordPress – display social media content in WordPress without code.
  • AIOSEO – The original WordPress SEO plugin to help you rank higher in search results (trusted by over 3 million sites).
  • PushEngage – Connect with visitors after they leave your website with the leading web push notification plugin.
  • TrustPulse – Add real-time social proof notifications to boost your store conversions by up to 15%.
  • SearchWP – The most advanced custom WordPress search plugin to improve WordPress search quality.
  • AffiliateWP – #1 affiliate management plugin for WordPress. Add a referral program to your online store.
  • WP Simple Pay – #1 Stripe payments plugin for WordPress. Start accepting one-time or recurring payments without a shopping cart.
  • Easy Digital Downloads – The best WordPress eCommerce plugin to sell digital products (eBooks, software, music, and more).
  • Sugar Calendar – A simple event calendar plugin for WordPress that’s both easy and powerful.

To learn more about WordPress, you can also visit WPBeginner for tutorials on topics like:

…and many more WordPress tutorials.

Note

Insert Headers and Footers è il modo più semplice per inserire codice nell’header e nel footer di WordPress.

Our goal is to make using WordPress easy, both with our WordPress plugins and resources like WPBeginner, the largest WordPress resource site for beginners.

I feel that we have done that here. I hope find Insert Headers and Footers useful to insert scripts on your site.

Grazie
Syed Balkhi

Screenshot

  • Settings Screen

Installazione

  1. Install Insert Headers and Footers by uploading the insert-headers-and-footers directory to the /wp-content/plugins/ directory. (See instructions on how to install a WordPress plugin.)
  2. Attiva Insert Headers and Footers nel menu Plugin di WordPress.
  3. Inserisci il codice nel tuo header o footer andando nel menu Impostazioni > Insert Headers and Footers.

FAQ

Posso utilizzare Insert Headers and Footers per installare Google Analytics?

Sì, puoi inserire il tuo codice di Google Analytics nel campo Script nell'header.

Posso utilizzare Insert Headers and Footers per Google AdSense?

Yes, to verify your account or to tag your page for Auto ads, paste the code AdSense gives you, into the Scripts in Header field.

How to disable Insert Headers and Footers on a specific page?

You can use one of the three available boolean filters: disable_ihaf, disable_ihaf_footer, disable_ihaf_header, disable_ihaf_body and return true value in order to disable printing either on the entire page or specifically in the header or footer of a given page.

Recensioni

26 Giugno 2022
Using this plugin for a long time, no issues at all, very helpfull
Leggi tutte le recensioni di 780

Contributi e sviluppo

“Insert Headers and Footers by WPBeginner” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Insert Headers and Footers by WPBeginner” è stato tradotto in 25 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Insert Headers and Footers by WPBeginner” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.6.2

  • Fix: Reverted a method visibility that was conflicting with other plugins using it.

1.6.1

  • Tested compatibility with WordPress 5.9

1.6.0

  • Fix: Only show settings CTA to users able to visit the settings page.
  • Enhancement: Improve settings page user experience on heavily customized WordPress installs.

1.5.0

  • New: Code editors now use CodeMirror for syntax highlighting.

1.4.6

  • Tested compatibility with WordPress 5.4.2

1.4.5

  • Tested compatibility with WordPress 5.3.2
  • Add support for printing scripts right after the opening body tag using the wp_body_open action

1.4.4

  • Tested compatibility with WordPress 5.2
  • Updated text-domain standards and in plugin header

1.4.3

  • Update FAQs
  • Introduce three new filters: disable_ihaf, disable_ihaf_footer, disable_ihaf_header

1.4.2

  • Code cleanups

1.4.1

  • Fixes for users running PHP version less than 5.5

1.4

  • Tested with WordPress 4.7.2
  • cleaned up code

1.3.3

  • Tested with WordPress 4.3
  • Fix: plugin_dir_path() and plugin_dir_url() used for Multisite / symlink support

1.3.2

  • Fix: Dashboard widget logo URL when RSS feed cannot be loaded
  • Fix: WordPress 4.0 support
  • Added: POT language file

1.3.1

  • Improved settings UI for WordPress 3.8+
  • Bumped minimum version requirement

1.3

  • fixed readme file

1.2

  • cleaned up code

1.1

  • fixed unnecessary CSS loading

1.0

  • Initial version