Discover, trust, install: FAIR 1.0 is here

Plugin Banner

SOGO Add Script to Individual Pages Header Footer

by SOGO

Version: 3.9

Download
Description

Tested with Gutenberg

Create a simple way to add javascript code to individual page post or custom post type header and footer,
for example: add conversion code to thank you pages
add google re-marketing code to individual pages
and much more…
added in version 1.3 the option to add script \ style to all pages not only individual pages,
this will allow you to add Google re-marketing code to the entire site or Google Analytics
to use it goto “settings” – “Header Footer Settings”

New Features (version 3.0):
Added option for terms / category pages

New Features (version 2.3):
Added support for WooCommerce shop page.

  1. we support now exclude individual pages form printing the header and footer scripts, this is supported by 2 checkboxes in each page\post
    buy check it the script will not be display on this page

  2. we added support to limit the script only for certain post type \ page

if you like it \ use it – please rate us.

usage:
You need to paste the code with the script tag, for example:
you js code

  1. Upload the plugin to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to page, post or custom post type
  4. paste your code to the header or footer box
  5. save you post or page
  1. edit page meta box

    edit page meta box

Best

By varun3377 on May 14, 2021

Awesome, please continue to provide best plugins.

Malicious Popup

By smakmur on May 5, 2021

This plugin is no longer usable, it injects a popup with ads to your website when a user clicks on something. God knows what other malicious codes is hidden inside.

Felt buggy, not needed in WP 5

By thekrkn on April 15, 2020

This worked for me for a while, but the popup panel on each page would sit over things at the bottom of my pages, even preventing me from editing some blocks, which was irritating. A colleague told me he was seeing ads all over the page; I said that was impossible, it's an internal site, there should be no ads. Turns out it was this plugin, and I just had AdBlocker preventing me from seeing them! Bleh. Then I found out the Gutenberg HTML block can host script tags, so I just threw my page-specific JavaScript in there and boom, no more need of a plugin!

Filled with ads

By UmbrellaWeb on March 17, 2020

used to love this plugin until it got plastered with loads of ads. such a shame better alternatives out there which have no ads

Simple But The Best

By Thanasut Vudthivichai (modeling22) on August 31, 2019

Just what I need, very easy to insert my code on page/post.

Really Easy to Use

By CGain on August 8, 2019

Excellent plug-in for advanced SEO Schema on our client sites. We use it on individual pages and posts to add specific schema for rich snippets.

Style or scripts Individual pages

By rinu62 on May 7, 2019

Best n Easy way to add style or scripts for individual pages in WordPress.

use another plugin

By Infinit Solutions (infinits) on January 18, 2019

This plugin will show 3 lines of ads for doing 3 lines of code! There is another plugin, "Header and Footer Scripts" which will do the same thing for FREE and with no ADS.

Filled with ads

By psid20 on November 20, 2018

i guess devs of the plugin forgot to mention that you have to actually buy pro version to remove ads.

Free version doesn't work?

By ejnarh on July 25, 2018

Tried this plugin but it just had a series of 'upgrade' buttons instead of anything that let me actually add the script. I wasn't sure if it was just an issue of unclear GUI, so I tried saving the page while there was text in the script box, but that didn't seem to do anything.

1.0

  • initial version

1.1

  • resolve header script not being echo to the page

1.2

  • resolve issue with WordPress Version 3.7

1.2.1

  • added usage description

1.3

  • add site wide header footer script (e.g. for Google analytics or remarking code)

1.3

  • add 2 new features:
  1. option to limit the script per post type – we added a checkbox in the option which give you the ability to select on
    which page \post \custom post type the header or footer script will be printed.
  2. option to exclude a page \post \custom post type from header and or footer script. yo will find 2 new checkbox on each page
    which enable you to exclude the script from this individual page

1.6

change labels

2.2

fix bug :When I paste the script into an individual post from a category then the same script is appearing in category listing page as well.
(thanks to Shane (@ugrasen1989))

2.3

fix bug : Added support for WooCommerce shop page .
(thanks to Birdie‏ )

3.2

output the individual script after the generic script to support google conversion

3.8

Test support for last WordPress version

3.9

add nonce check for terms update

  • Version:Version: 3.9
  • Active installs:Active installs: 20K
  • Last updated:Last updated: 20-01-2020
  • Requires:Requires: 3.5
  • Tested:Tested: 5.3.18
Average rating:4.3 out of 5 stars.
  • Number of ratings: 24 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 5 ratings
Back to top