OH Add Script to Individual Pages Header Footer

plugin banner

Simple plugin to add script to header and footer for individual pages & posts

Author:orenhav (SOGO) (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:5.3.3
Plugin version:3.9
Added to WordPress repository:28-12-2013
Last updated:20-01-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:86
Rated by:31
Plugin URI:http://sogo.co.il
Total downloads:367 532
Active installs:30 000+
plugin download
Click to start download

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
ChangeLog