Title: WP Hooks
Author: Andy Whalen
Published: <strong>2009 年 3 月 1 日</strong>
Last modified: 2016 年 4 月 17 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wp-hooks.svg)

# WP Hooks

 作者：[Andy Whalen](https://profiles.wordpress.org/anukit/)

[下载](https://downloads.wordpress.org/plugin/wp-hooks.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-hooks/)

## 描述

WP Hooks is a plugin for WordPress that allows you to add JavaScript, HTML, or other
code to your
 header and footer without modifying your theme. WP Hooks uses the 
wp_head() and wp_footer() hooks built in to WordPress to add content to your header
and/or footer. It’s great for those who have custom JavaScript, CSS, or other code(
Google Analytics, meta tags, etc.) in their header or footer and don’t want to or
can’t modify their theme.

Find [more instructions and discussion](http://amwhalen.com/blog/projects/wp-hooks/)
on the WP Hooks home page.

## 屏幕截图

 * [[
 * The simple WP Hooks options page.

## 安装

 1. After unzipping, upload the `wp-hooks` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Add content to your header and footer in the WP Hooks Options page under Settings.

Find [more instructions and discussion](http://amwhalen.com/blog/projects/wp-hooks/)
on the WP Hooks home page.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Hooks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Andy Whalen ](https://profiles.wordpress.org/anukit/)

[帮助将「WP Hooks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-hooks)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.6

 * Fix git/svn repo disparity.

#### 1.0.4

 * Fix undefined variable notice. (thanks to dabernathy89.)

## 额外信息

 *  版本 **1.0.6**
 *  最后更新：**10 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 2.1 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-hooks/)
 * 标签
 * [footer](https://cn.wordpress.org/plugins/tags/footer/)[head](https://cn.wordpress.org/plugins/tags/head/)
   [hooks](https://cn.wordpress.org/plugins/tags/hooks/)[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/wp-hooks/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/wp-hooks/reviews/)

## 贡献者

 *   [ Andy Whalen ](https://profiles.wordpress.org/anukit/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-hooks/)