Free coding plugin

WPBeginner developed Insert Headers and Footers, a plugin that you can use to insert code for Twitter cards, Facebook pixel, custom CSS, and others to your WordPress site’s headers or footers. The plugin is compatible with WordPress 4.6 and up. It also supports PHP version 5.2 and up. You can download it free in 22 languages.

You won’t need to edit your theme files with this plugin, but it will let you insert scripts from a single place. Alternative options to this plugin include Header Footer Script Loader, My Header Footer, and AddFunc Head and Footer Code.

Plugin features

Insert Headers and Footers makes it simple to insert scripts into the header or footer areas. You can use it to insert codes for Twitter cards, Facebook pixel, and custom CSS. It supports any code or script, including HTML and Javascript.

The plugin allows you to disable these areas on selected pages using Boolean filters. Depending on the filter, it will disable printing on the entire page or only for the header or footer of the specified page.

How to use

In your WordPress dashboard, navigate to Settings, and then Insert Headers and Footers. It will open a simple screen with three blocks where you can add your scripts:

  • ‘Scripts in Header’ adds the scripts to the section.
  • ‘Scripts in Body’ adds scripts below the start of the tag.
  • ‘Scripts in Footer’ adds scripts above the closing tag.
  • Once you’ve inserted all the required scripts, click on Save. To double-check, view the page in the front end, and right-click to ‘View Page Source’. Clear your browser and site’s cache if you don’t see the code.

    Plugin benefits

    The plugin makes it faster to edit codes and prevents errors since it limits the possibility of deleting or placing code in the wrong place when editing theme files. It keeps your changes when your theme file updates. It’s simple to keep up with all your scripts by viewing them in the WordPress dashboard.

Add code to header and footer

The Insert Headers and Footers plugin is an easy way to insert codes into these areas. It has the benefits of reducing errors from editing or deleting codes in your theme files. You can even disable them on specific pages.

The latest release improves the user experience on the Settings page for a customized WordPress installation. It also fixed show settings CTA only to users visiting the settings page.

  • Pros

    • Easily inserts code into headers and footers
    • Disable headers or footers on specified pages
    • Simple user interface
  • Cons

    • Coding knowledge is required to create scripts
 0/1

App specs

  • License

    Free

  • Version

    1.6.0

  • Latest update

  • Platform

    WordPress

  • OS

    4.6 or higher

  • Language

    English

    Available languages

    • Chinese
    • Dutch
    • English
    • French
    • German
    • Hindi
    • Spanish
    • Swedish
  • Downloads

    1.5K

    Last month's downloads

    • 9
  • Size

    8.62 KB

  • Developer

Program available in other languages



User reviews about Insert Headers and Footers by WPBeginner

Have you tried Insert Headers and Footers by WPBeginner? Be the first to leave your opinion!

You may also like

Alternatives to Insert Headers and Footers by WPBeginner

Explore Apps

Latest articles

Laws concerning the use of this software vary from country to country. We do not encourage or condone the use of this program if it is in violation of these laws.
Softonic
Your review for Insert Headers and Footers by WPBeginner
Softonic

In Softonic we scan all the files hosted on our platform to assess and avoid any potential harm for your device. Our team performs checks each time a new file is uploaded and periodically reviews files to confirm or update their status. This comprehensive process allows us to set a status for any downloadable file as follows:

Clean

It’s extremely likely that this software program is clean.

What does this mean?

We have scanned the file and URLs associated with this software program in more than 50 of the world's leading antivirus services; no possible threat has been detected.

Warning

This software program is potentially malicious or may contain unwanted bundled software.

Why is the software program still available?

Based on our scan system, we have determined that these flags are possibly false positives.

What is a false positive?

It means a benign program is wrongfully flagged as malicious due to an overly broad detection signature or algorithm used in an antivirus program.

We’d like to highlight that from time to time, we may miss a potentially malicious software program. To continue promising you a malware-free catalog of programs and apps, our team has integrated a Report Software feature in every catalog page that loops your feedback back to us.

Flag any particular issues you may encounter and Softonic will address those concerns as soon as possible.