跳到内容

Post Head Includes

v0.2.1

Rick Buczynski · 2013年5月14日 上架

Easily add scripts and stylesheets to the HEAD of your posts, keeping your HTML cleaner without inline scripts or styles.

正在使用
10+
评分
暂无
累计下载
2,406
最近更新
2013年8月25日
已测试到 3.5.2

贡献者

截图

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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums