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

GPP Base Hook Widgets

描述

GPP Base Hook Widgets is a plugin that creates new widget areas for the Base theme by Graph Paper Press 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 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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“GPP Base Hook Widgets”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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