Title: GPP Base Hook Widgets
Author: Thad Allender
Published: <strong>2011 年 1 月 14 日</strong>
Last modified: 2011 年 4 月 8 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/gpp-base-hook-widgets.svg)

# GPP Base Hook Widgets

 作者：[Thad Allender](https://profiles.wordpress.org/endortrails/)

[下载](https://downloads.wordpress.org/plugin/gpp-base-hook-widgets.1.2.zip)

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

 [支持](https://wordpress.org/support/plugin/gpp-base-hook-widgets/)

## 描述

_GPP Base Hook Widgets_ is a plugin that creates new widget areas for the [Base theme](http://graphpaperpress.com/themes/base/)
by [Graph Paper Press](http://graphpaperpress.com) and attaches them to the theme’s
action hooks. Basically, it allows you to add widgets pretty much anywhere.

Typically, to add extra stuff to the theme, you must use one of _Base’s_ action 
hooks. This can be quite confusing to some users. This plugin was created mainly
for those users without much PHP knowledge. It allows them to take advantage of 
_Base’s_ hook system without the need to understand how it works. Of course, even
advanced users can take advantage of this, especially when dealing with client work.

This plugin is for **WordPress 3.0+ only**.

You must have the [Base theme](http://graphpaperpress.com/themes/base/) installed
to use it.

## 安装

 1. Upload `gpp-base-hook-widgets.zip` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the _Plugins_ menu in WordPress.
 3. Go to your _Widgets_ panel and add widgets to the new widget area.

## 常见问题

  Why create this plugin?

Many users don’t understand how to use action hooks from a child theme. PHP might
not be their thing. I wanted these users to be able to easily take advantage of 
some of _Base’s_ more advanced features without having to learn how to code.

  What does this plugin do, exactly?

It creates 12 new widget areas that _hook_ into various parts of the theme. This
allows users to add widgets virtually anywhere.

  What widgets areas are available?

Aside from _Base’s_ many default widget areas, you’ll get 12 new ones:

 * Hook: Before Header
 * Hook: Header
 * Hook: After Header
 * Hook: Before Content
 * Hook: After Content
 * Hook: Before Title
 * Hook: After Title
 * Hook: Before Sidebar
 * Hook: After Sidebar
 * Hook: Before Footer
 * Hook: Footer
 * Hook: After Footer

## 评价

此插件暂无评价。

## 贡献者及开发者

「GPP Base Hook Widgets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Thad Allender ](https://profiles.wordpress.org/endortrails/)

[帮助将「GPP Base Hook Widgets」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gpp-base-hook-widgets)

### 对开发感兴趣吗?

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

## 更新日志

**Version 1.2**

 * Updating plugin hooks to be compatible with Base 1.1 semantic hook names

**Version 1.1**

 * Updating readme.txt
 * Added new before-content, after-content hooks

**Version 1.0**

 * Plugin launch

## 额外信息

 *  版本 **1.2**
 *  最后更新：**15 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 3.0.4 或更高版本 **
 *  已测试的最高版本为 **3.1.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/gpp-base-hook-widgets/)
 * 标签
 * [custom](https://cn.wordpress.org/plugins/tags/custom/)[hooks](https://cn.wordpress.org/plugins/tags/hooks/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)[widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/gpp-base-hook-widgets/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/gpp-base-hook-widgets/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gpp-base-hook-widgets/reviews/)

## 贡献者

 *   [ Thad Allender ](https://profiles.wordpress.org/endortrails/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/gpp-base-hook-widgets/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://graphpaperpress.com)