=== CM Header and Footer  - Add custom scripts and styles to your header and footer with ease ===
Name: CM Header & Footer Script Loader
Contributors: CreativeMindsSolutions
Donate link: https://www.cminds.com/
Author URI: https://www.cminds.com/
Tags: footer, header, custom css, insert javascript, insert HTML
Requires at least: 5.4.0
Tested up to: 7.0
Stable Tag: 1.3.1
Requires PHP: 5.2.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add custom CSS and JavaScript to headers and footers on your site with the header and footer plugin for enhanced control and design.


== Description ==

[Premium Plugin Page](https://www.cminds.com/wordpress-plugins-library/wordpress-header-and-footer-script-loader-plugin/) | [Videos](https://www.videolessonsplugin.com/video-lesson/lesson/header-footer-script-loader-plugin/)  | [User Guide](https://creativeminds.helpscoutdocs.com/category/452-header-and-footer-script-loader) 

**Easily manage and control header and footer scripts and styles on your WordPress site using a simple and user-friendly plugin.**

⭐ *We're excited to introduce the updated 2025 version of the CM Header and Footer plugin! This release brings a fresh, modern design to the script creation and editing interface, making it even more intuitive and user-friendly. Install now and enjoy the improved experience!*

With the Header and Footer Script Loader plugin, you can easily manage and control additional scripts and styles on your WordPress site. 

This plugin allows you to pre-load all scripts and styles in the plugin settings, as well as inject custom JavaScript and code to suit your needs.

You have the option to choose whether a script should be automatically or manually uploaded in all posts. 

### Insert Headers and Footers Premium Edition

The [Insert Headers and Footers Plugin Premium editions](https://www.cminds.com/wordpress-plugins-library/wordpress-header-and-footer-script-loader-plugin/) includes even more powerful features, such as: each post has a header and footer metabox that allows you to control the various scripts and styles, device selection for each script and stlye and much more.

### Insert Headers and Footers Plugin Introduction Video (Pro Version)

[vimeo https://vimeo.com/141020978]

== Insert Script Plugin Use Cases == 

* **Control Site Scripts** – Easily add or replace various scripts and styles to your WordPress site.
* **Selective Loading Per Post** – Target scripts and styles to specific posts or groups of custom posts.
* **Reduce Script Load** – Reduce the amount of scripts loaded throughout the site.
* **Target Script to Specific Posts or URL Pattern** (premium plugin) – Target scripts to load on a specific URL or URL pattern.
* **Per Device Script Support** (premium plugin) – Load script on a Mobile or Desktop or both.

== Basic Plugin Features == 

* Add unlimited number of JS scripts and CSS styles.
* Load scripts in header or footer.
* Load scripts on all posts and pages.
* Load scripts on selected post types.

== Pro Version Features == 

[Pro Version Detailed Features List](https://www.cminds.com/wordpress-plugins-library/wordpress-header-and-footer-script-loader-plugin/)

* Add unlimited number of JS, CSS, PHP and HTML scripts.
* Load scripts in header, footer, after opening body tag, before or after content.
* Support script loading on custom posts.
* Target scripts to selected posts and pages.
* Target scripts to posts of chosen categories.
* Target scripts to posts of chosen tags.
* Target scripts by URL or group of URLs.
* Target by device type: desktop only, mobile only or both for each script you set.
* Control script loading on specific posts using a metabox.
* Control when to launch scripts by adding timeframe.
* Add titles and internal notes to scripts.


== Follow Us ==

[Blog](https://www.cminds.com/category/wordpress/) | [Twitter](http://twitter.com/cmplugins) | [LinkedIn](https://www.linkedin.com/company/creativeminds) | [YouTube](https://www.youtube.com/user/cmindschannel) | [Pinterest](http://www.pinterest.com/cmplugins/) | [Facebook](https://www.facebook.com/cmplugins/)

== Plugin usage instructions ==

1. Click "Add New Script".
2. Fill the "Script Name" field and paste "Script Code".
3. Click "Expand Additional Settings".
4. Optionally, add a note with explanations for a script.
5. Select "Script Type", "Script Location" and "Where to Load".
6. Click "Save Script".

== Suggested Plugins by CreativeMinds ==

List of all [WordPress Plugins](https://www.cminds.com) by CreativeMinds

* [CM Tooltip Glossary](https://glossaryplugin.com/) - Easily creates a Glossary, Encyclopaedia or Dictionary of your website's terms and shows them as a tooltip in posts and pages when hovering. With many more powerful features.
* [CM Download Manager](https://www.downloadmanagerplugin.com/) - Allows users to upload, manage, track and support documents or files in a download directory listing database for others to contribute, use and comment upon.
* [CM Answers Plugin](https://www.answersplugin.com/) - A fully-featured WordPress Questions & Answers Plugin that allows you to build multiple discussion forum systems Just like StackOverflow, Yahoo Answers and Quora, Now with MicroPayments and Anonymous posting support.
* [CM Restrict Content](http://restrictcontent.com/) - A full-featured, powerful membership solution and content restriction plugin for WordPress. Support access by role to content on your site.
* [CM OnBoarding](https://onboardingplugin.com/) - Superb Guidance tool which improves the online experience and the user satisfaction.

== Screenshots ==

1. Form for Adding New Script
2. Example of Inserting JavaScript
3. Example of Inserting CSS Code

== Installation ==

1. Upload `cm-header-footer-script-loader` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.

== Changelog ==

= 1.3.0 =
Release Date: 18 Sep 2025
* Added plugin URI for fix missing homepage issue which reported by WordFence

= 1.2.9 =
Release Date: 12 Jun 2025
* Added restrictions for deactivating a plugin and send reason should be admin user

= 1.2.8 =
* Improvements

= 1.2.7 =
Release Date: 14 Apr 2025
* Improvements

= 1.2.6 =
Release Date: 10 Apr 2025
* Improvements

= 1.2.5 =
Release Date: 25 Mar 2025
* Implement permission and nonce check

= 1.2.4 =
Release Date: 14 Jan 2025
* Implement new user interface

= 1.2.3 =
Release Date: 07 Jan 2025
* Fixed vulnerability issue

= 1.2.2 =
Release Date: 19 Nov 2024
* Fixed security (medium) issue

= 1.2.1 =
Release Date: 9 Oct 2024
* Fixed security issues

= 1.2.0 =
Release Date: 18 May 2024
* Fixed security issues

= 1.1.9 =
Release Date: 22 December 2023
* Update package info

= 1.1.8 =
Release Date: 21st Mar 2023
* Update package info

= 1.1.7 =
Release Date: 9th Nov 2022
* Replace Internal support links

[View Release Notes in Plugin Site](https://www.cminds.com/wordpress-plugins-library/wordpress-header-and-footer-script-loader-plugin/#changelog)