Title: Post Head Includes
Author: Rick Buczynski
Published: <strong>2013年5月14日</strong>
Last modified: 2013年8月25日

---

プラグインを検索

![](https://ps.w.org/post-head-includes/assets/banner-772x250.jpg?rev=712651)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/post-head-includes_363843.svg)

# Post Head Includes

 作者: [Rick Buczynski](https://profiles.wordpress.org/rbuczynski/)

[ダウンロード](https://downloads.wordpress.org/plugin/post-head-includes.zip)

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

 [サポート](https://wordpress.org/support/plugin/post-head-includes/)

## 説明

Easily add scripts and stylesheets per post. This is a great tool for developers
creating custom pages for their clients, but also useful for the blogger who wants
to separate inline CSS & JS from their post content.

This plugin provides an interface for wp_enqueue_script and wp_enqueue_style functions,
so all of the functionality that a developer would find there is available in this
plugin.

However, script localization differs from wp_localize_script in that with this plugin
you are allowed to input raw JavaScript code for localization, library initialization,
and more.

This plugin may also help to alleviate modern browser XSS detection from blocking
potentially unsafe JavaScript.

## スクリーンショット

[⌊Easily add unlimited items to your post or page.⌉⌊Easily add unlimited items to
your post or page.⌉[

Easily add unlimited items to your post or page.

[⌊You only need to configure a type and a source to get your includes properly loaded.⌉⌊
You only need to configure a type and a source to get your includes properly loaded
.⌉[

You only need to configure a type and a source to get your includes properly loaded.

[⌊For more advanced options, you can completely customize your scripts, adding localizations
or initializer code.⌉⌊For more advanced options, you can completely customize your
scripts, adding localizations or initializer code.⌉[

For more advanced options, you can completely customize your scripts, adding localizations
or initializer code.

[⌊Tag your included stylesheets for properly CSS media types to add greater flexibility
to your pages.⌉⌊Tag your included stylesheets for properly CSS media types to add
greater flexibility to your pages.⌉[

Tag your included stylesheets for properly CSS media types to add greater flexibility
to your pages.

## インストール

 1. Upload files to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create a new post or page
 4. Configure your post head includes in the meta box below the editor

## FAQ

  Where are my scripts and stylesheets?

They will be added to the HEAD area of the page or post.

  Can I have more than one script or stylesheet?

Yes, you can add as many as you’d like or need.

  Can I add my scripts to the footer for faster loading?

Yes, under the Advanced Options you can set `In Footer` to `true`.

  My included script needs to be initialized. How can I do this?

Under `Advanced Options` you can add any custom JavaScript to the `Localization`
text area. This will be added after your JS file.

  How to conditions work?

When adding a condition, you need only to write the expression, and not the entire
comment tag. For example, to load the item only for IE browsers at version 9, you
would write `if IE 9`. Note: Adding a condition will force the item to be included
at the end of the element (after all other scripts and stylesheets). Therefore, 
specifying dependencies will have no effect.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Post Head Includes はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

 *   [ Rick Buczynski ](https://profiles.wordpress.org/rbuczynski/)

[“Post Head Includes” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/post-head-includes)

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

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

## 変更履歴

0.2.1 – Fixed inconsistent post ID management on save.
 0.2.0 – Added support for
IE conditional tags; minor code cleanup. 0.1.0 – First release.

## メタ

 *  バージョン **0.2.1**
 *  最終更新日 **13年前**
 *  有効インストール数 **10+**
 *  検証済み最新バージョン: **3.5.2**
 *  言語
 * [English (US)](https://wordpress.org/plugins/post-head-includes/)
 * タグ
 * [css](https://ja.wordpress.org/plugins/tags/css/)[javascript](https://ja.wordpress.org/plugins/tags/javascript/)
   [wp_enqueue_script](https://ja.wordpress.org/plugins/tags/wp_enqueue_script/)
   [wp_enqueue_style](https://ja.wordpress.org/plugins/tags/wp_enqueue_style/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/post-head-includes/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/post-head-includes/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/post-head-includes/reviews/)

## 貢献者

 *   [ Rick Buczynski ](https://profiles.wordpress.org/rbuczynski/)

## サポート

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

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/post-head-includes/)

## 寄付

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

 [ このプラグインに寄付 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=49Q7JW9AJHJMG)