Add custom script to header and footer through WordPress Customizer. You can place any custom JavaScript, Google Analytics or embed script.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin
includes
languages
.gitignore
LICENSE.txt
README.txt
custom-script-for-customizer.php
index.php
uninstall.php

README.txt

=== Custom Header Footer Scripts for Customizer ===
Contributors: re_enter_rupok, codetic
Donate link: https://www.rupok.me
Tags: codemirror, custom script, header footer script, customizer script, custom javascript, google analytics, custom embed code
Requires at least: 4.0
Tested up to: 4.9.1
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add custom script to header and footer through WordPress Customizer. Edit your scripts with CodeMirror editor within Customizer.

== Description ==

Add custom script to header and footer through WordPress Customizer. Edit your scripts with CodeMirror editor within Customizer. You can place any custom JavaScript, Google Analytics or embed script. Extremely helpful if you need to place any custom javascript or jQuery code to header or footer. This plugin gives you the ability to place different scripts to header or footer separately. Uses Customizer so you can edit the code live and see the changes on the fly.

**Features:**

*  CodeMirror Editor
*  Ability to add custom scripts to wp header.
*  Ability to add custom scripts to wp footer.
*  Ability to add multiple scripts.
*  Ability to add Google Alalytics code.
*  Ability to add any embed code.


**Check my free WordPress Theme [Flexia](https://wordpress.org/themes/flexia/), one theme to rule them all.**

**Check my other plugins:**


* **[Essential Addons For Elementor](https://wordpress.org/plugins/essential-addons-for-elementor-lite/)** 
* **[Essential Addons For Cornerstone](https://wordpress.org/plugins/essential-addons-for-cornerstone-lite/)** 
* **[WPFomo – Fomo Notification for WordPress](https://wordpress.org/plugins/wpfomo/)** 
* **[Twitter Cards Meta](https://wordpress.org/plugins/twitter-cards-meta/)** 

== Installation ==

= Modern Way: =
1. Go to the WordPress Dashboard "Add New Plugin" section.
2. Search For "Custom Header Footer Scripts for Customizer". 
3. Install, then Activate it.

= Old Way: =
1. Upload `custom-script-for-customizer` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress


== Frequently Asked Questions ==

= Can I insert multiple script? =

Yes you can insert multiple script.

= Where the script will be inserted? =

You can control where to be inserted (header or footer).

= Can I place Google Analytics code? =

Yes you can easily place Google Analytics code

= Can I place jQuery code? =

Sure you can!

== Screenshots ==


== Changelog ==

= 1.1.0 =

* CodeMirror support added
* Few minor improvements

= 1.0 =

* Initial stable release