Title: Enhanced Header / Footer Injections
Author: chriscarvache
Published: <strong>2012 年 3 月 6 日</strong>
Last modified: 2012 年 3 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/enhanced-header-footer-injections.svg)

# Enhanced Header / Footer Injections

 作者：[chriscarvache](https://profiles.wordpress.org/chriscarvache/)

[下载](https://downloads.wordpress.org/plugin/enhanced-header-footer-injections.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/enhanced-header-footer-injections/#description)
 * [评价](https://cn.wordpress.org/plugins/enhanced-header-footer-injections/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/enhanced-header-footer-injections/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/enhanced-header-footer-injections/#developers)

 [支持](https://wordpress.org/support/plugin/enhanced-header-footer-injections/)

## 描述

Enhanced Header / Footer Injections allows you to insert HTML code into the header
and footer sections of your templates on a page per page basis. This also works 
with custom post types, archive pages, the 404 page, the main blog page and the 
front page (if used). The plugin is designed to help speed up the development process
when creating custom sites for clients.

## 屏幕截图

[⌊Global settings⌉⌊Global settings⌉[

Global settings

[⌊Per page settings⌉⌊Per page settings⌉[

Per page settings

## 安装

Simple!

 1. Upload the `enhanced-header-footer-injections` folder to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure global settings via Settings -> Enhanced Header / Footer Injections page

## 常见问题

  Why does this plugin exist?

Simple. I needed it. And I became tired of constantly adding scripts by editing 
my theme’s functions.php file.

  How come this plugin doesn’t utilize the wp_enqueue_script function?

Great question! The simple answer is that it will at some point. In fact there are
a lot of features that I want to add to this plugin!

## 评价

此插件暂无评价。

## 贡献者及开发者

「Enhanced Header / Footer Injections」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Enhanced Header / Footer Injections」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/enhanced-header-footer-injections)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/enhanced-header-footer-injections/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/enhanced-header-footer-injections/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/enhanced-header-footer-injections/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/enhanced-header-footer-injections/)。

## 更新日志

#### 0.2

 * Add code to main blog page
 * Add code to 404 page
 * Add code to archives pages
 * Deployment mode added – Controls the default code settings when new content is
   created
 * Per-Post-Type global settings added – Code can be added on a global basis or 
   on a global (per-post-type) basis.

#### 0.1

 * Initial relase

## 额外信息

 *  版本 **0.2**
 *  最后更新：**15 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/enhanced-header-footer-injections/)
 * 标签
 * [scripts](https://cn.wordpress.org/plugins/tags/scripts/)[styles](https://cn.wordpress.org/plugins/tags/styles/)
   [wp_footer](https://cn.wordpress.org/plugins/tags/wp_footer/)[wp_head](https://cn.wordpress.org/plugins/tags/wp_head/)
 *  [高级视图](https://cn.wordpress.org/plugins/enhanced-header-footer-injections/advanced/)

## 评级

 3.3 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/?filter=2)
 *  [  3 条 1 星评价     ](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/enhanced-header-footer-injections/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/enhanced-header-footer-injections/)