Title: CM Header and Footer  &#8211; Add custom scripts and styles to your header and footer with ease
Author: CreativeMindsSolutions
Published: <strong>2015年9月7日</strong>
Last modified: 2026年5月23日

---

プラグインを検索

![](https://ps.w.org/cm-header-footer-script-loader/assets/banner-772x250.png?rev
=3227678)

![](https://ps.w.org/cm-header-footer-script-loader/assets/icon-256x256.png?rev=
3227678)

# CM Header and Footer – Add custom scripts and styles to your header and footer with ease

 作者: [CreativeMindsSolutions](https://profiles.wordpress.org/creativemindssolutions/)

[ダウンロード](https://downloads.wordpress.org/plugin/cm-header-footer-script-loader.1.3.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/cm-header-footer-script-loader/#description)
 * [レビュー](https://ja.wordpress.org/plugins/cm-header-footer-script-loader/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/cm-header-footer-script-loader/#installation)
 * [開発](https://ja.wordpress.org/plugins/cm-header-footer-script-loader/#developers)

 [サポート](https://wordpress.org/support/plugin/cm-header-footer-script-loader/)

## 説明

[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)

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

### フォローする

[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.

## スクリーンショット

 * [[
 * Form for Adding New Script
 * [[
 * Example of Inserting JavaScript
 * [[
 * Example of Inserting CSS Code

## インストール

 1. Upload `cm-header-footer-script-loader` folder to the `/wp-content/plugins/` directory.
 2. 「プラグイン」メニューからプラグインを有効化します。

## 評価

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

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-12838/)󠁿

 [Eefje321](https://profiles.wordpress.org/eefje321/) 2023年6月27日

Just what I was looking for.

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

### 󠀁[Excelent](https://wordpress.org/support/topic/excelent-900/)󠁿

 [admintg](https://profiles.wordpress.org/admintg/) 2020年3月19日

I´d installed CM Header & Footer Script Loader recently because I changed my wordpress
theme and needed a way to insert a <script> before </body>. First I tried to insert
this with a php function and I don´t know why the script started to block navigation
on my site in some browsers. So I found CM Header & Footer Script Loader and my 
problem was resolved. I also needed support for a php error and CreativeMinds Team
Support gave me a quicky and accurate response even I´m using a free version. 5 
stars.

 [ 2件のレビューをすべて表示 ](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/)

## 貢献者と開発者

CM Header and Footer – Add custom scripts and styles to your header and footer with
ease はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

 *   [ CreativeMindsSolutions ](https://profiles.wordpress.org/creativemindssolutions/)

[“CM Header and Footer – Add custom scripts and styles to your header and footer with ease” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/cm-header-footer-script-loader)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/cm-header-footer-script-loader/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/cm-header-footer-script-loader/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/cm-header-footer-script-loader/)
を [RSS](https://plugins.trac.wordpress.org/log/cm-header-footer-script-loader/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

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

## メタ

 *  バージョン **1.3.1**
 *  最終更新日 **2週間前**
 *  有効インストール数 **1,000+**
 *  WordPress バージョン ** 5.4.0またはそれ以降 **
 *  検証済み最新バージョン: **7.0**
 *  PHP バージョン ** 5.2.4またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/cm-header-footer-script-loader/)
 * タグ
 * [custom css](https://ja.wordpress.org/plugins/tags/custom-css/)[footer](https://ja.wordpress.org/plugins/tags/footer/)
   [header](https://ja.wordpress.org/plugins/tags/header/)[insert HTML](https://ja.wordpress.org/plugins/tags/insert-html/)
   [insert javascript](https://ja.wordpress.org/plugins/tags/insert-javascript/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/cm-header-footer-script-loader/advanced/)

## 評価

 5つ星中5つ星

 *  [  2 5-星レビュー     ](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/?filter=1)

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/cm-header-footer-script-loader/reviews/)

## 貢献者

 *   [ CreativeMindsSolutions ](https://profiles.wordpress.org/creativemindssolutions/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/cm-header-footer-script-loader/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://www.cminds.com/)