Title: SOGO Add Script to Individual Pages Header Footer
Author: SOGO
Published: <strong>Désémber 28, 2013</strong>
Last modified: Januari 20, 2020

---

Search plugins

![](https://ps.w.org/oh-add-script-header-footer/assets/banner-772x250.jpg?rev=1301975)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/oh-add-script-header-footer_d6d6d6.svg)

# SOGO Add Script to Individual Pages Header Footer

 By [SOGO](https://profiles.wordpress.org/orenhav/)

[Download](https://downloads.wordpress.org/plugin/oh-add-script-header-footer.zip)

 * [Details](https://su.wordpress.org/plugins/oh-add-script-header-footer/#description)
 * [Reviews](https://su.wordpress.org/plugins/oh-add-script-header-footer/#reviews)
 *  [Installation](https://su.wordpress.org/plugins/oh-add-script-header-footer/#installation)
 * [Development](https://su.wordpress.org/plugins/oh-add-script-header-footer/#developers)

 [Support](https://wordpress.org/support/plugin/oh-add-script-header-footer/)

## 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

## Screenshots

 * [[
 * edit page meta box

## Installation

 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

## Reviews

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

### 󠀁[Best](https://wordpress.org/support/topic/best-995/)󠁿

 [varun3377](https://profiles.wordpress.org/varun3377/) Méi 14, 2021

Awesome, please continue to provide best plugins.

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

### 󠀁[Malicious Popup](https://wordpress.org/support/topic/malicious-popup/)󠁿

 [smakmur](https://profiles.wordpress.org/smakmur/) Méi 5, 2021 1 reply

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.

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

### 󠀁[Felt buggy, not needed in WP 5](https://wordpress.org/support/topic/felt-buggy-not-needed-in-wp-5/)󠁿

 [thekrkn](https://profiles.wordpress.org/thekrkn/) 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!

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

### 󠀁[Filled with ads](https://wordpress.org/support/topic/filled-with-ads-2/)󠁿

 [UmbrellaWeb](https://profiles.wordpress.org/umbrellaweb/) Maret 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

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

### 󠀁[Simple But The Best](https://wordpress.org/support/topic/simple-but-the-best-3/)󠁿

 [Thanasut Vudthivichai](https://profiles.wordpress.org/modeling22/) Agustus 31,
2019

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

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

### 󠀁[Really Easy to Use](https://wordpress.org/support/topic/really-easy-to-use-59/)󠁿

 [CGain](https://profiles.wordpress.org/cgain/) Agustus 8, 2019 1 reply

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.

 [ Read all 31 reviews ](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/)

## Contributors & Developers

“SOGO Add Script to Individual Pages Header Footer” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ SOGO ](https://profiles.wordpress.org/orenhav/)

[Translate “SOGO Add Script to Individual Pages Header Footer” into your language.](https://translate.wordpress.org/projects/wp-plugins/oh-add-script-header-footer)

### Interested in development?

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

## Changelog

#### 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

## Meta

 *  Version **3.9**
 *  Last updated **6 years ago**
 *  Active installations **20.000+**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **5.3.21**
 *  Language
 * [English (US)](https://wordpress.org/plugins/oh-add-script-header-footer/)
 * Tags
 * [footer](https://su.wordpress.org/plugins/tags/footer/)[header](https://su.wordpress.org/plugins/tags/header/)
   [javascript](https://su.wordpress.org/plugins/tags/javascript/)[JS](https://su.wordpress.org/plugins/tags/js/)
 *  [Advanced View](https://su.wordpress.org/plugins/oh-add-script-header-footer/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  24 5-star reviews     ](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/?filter=2)
 *  [  5 1-star reviews     ](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/oh-add-script-header-footer/reviews/)

## Contributors

 *   [ SOGO ](https://profiles.wordpress.org/orenhav/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/oh-add-script-header-footer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z5H7VVZLSPYUE)