Title: Hybrid Hook
Author: Justin Tadlock
Published: <strong>2009 年 8 月 20 日</strong>
Last modified: 2011 年 5 月 16 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Hybrid Hook

 由 [Justin Tadlock](https://profiles.wordpress.org/greenshady/) 開發

[下載](https://downloads.wordpress.org/plugin/hybrid-hook.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/hybrid-hook/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/hybrid-hook/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/hybrid-hook/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/hybrid-hook/#developers)

 [技術支援](https://wordpress.org/support/plugin/hybrid-hook/)

## 外掛說明

_Hybrid Hook_ is a plugin that allows end users the ability to tap into the [Hybrid theme’s](https://wordpress.org/extend/themes/hybrid)
extensive hook selection by providing a user interface in the WordPress admin for
adding custom content.

You **must** be using at least version 0.9 of the [Hybrid theme](https://wordpress.org/extend/themes/hybrid)
for this plugin to work. It will also not work with any other themes.

**Features:**

 * Ability to add custom HTML nearly anywhere on your site.
 * Use shortcodes to quickly add content.
 * Allows the input of JavaScript.
 * User can select the priority the code will run.
 * Can execute PHP code if the option is selected.

## 安裝方式

 1. Upload `hybrid-hook` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to _Appearance > Hybrid Hook_ to input custom content.

More detailed instructions are included in the plugin’s `readme.html` file.

## 常見問題集

  Why was this plugin created?

This plugin was created so that end users and non-developers could take advantage
of the Hybrid theme’s extensive hook system. It allows the input of HTML, PHP, shortcodes,
and JavaScript from the WordPress admin. It’s a way to work around having to learn
how to use the WordPress plugin API and just add content anywhere.

  How do I set it up?

Under _Appearance > Hybrid Hook_, you can add custom code in individual textareas.
Each textarea corresponds to one of the Hybrid theme’s hooks, and each is accompanied
by a priority input box and a checkbox to execute PHP.

More detailed instructions are included in the plugin’s `readme.html` file.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Hybrid Hook〉的開發相關工作。

參與者

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

[將〈Hybrid Hook〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/hybrid-hook)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/hybrid-hook/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/hybrid-hook/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/hybrid-hook/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/hybrid-hook/)。

## 變更記錄

#### Version 0.3

 * Bumped the plugin requirements up to WordPress 3.1 and Hybrid 0.9.
 * Revamped the entire plugin settings page interface to be (hopefully) more user
   friendly.
 * Removed the `hybrid_before_page_nav` setting.
 * Removed the `hybrid_after_page_nav` setting.
 * Removed the `hybrid_after_single` setting.
 * Removed the `hybrid_after_page` setting.
 * Added the `hybrid_before_primary_menu` setting.
 * Added the `hybrid_after_primary_menu` setting.
 * Added the `hybrid_after_singular` setting.
 * Created some additional meta boxes for donations and plugin support.
 * Security enhancements with saving code, making sure the `unfiltered_html` cap
   is checked.
 * Plugin users must now have the `edit_theme_options` cap to edit the settings.
   This replaced the `edit_themes` cap.

#### Version 0.2

**Important!** Note that you’ll need to resave all of your settings. I suggest making
a copy of them in a text file.

 * Plugin was rewritten from the ground up to allow it to be extended for more action
   hooks in the future.
 * Added the ability to add shortcodes to the the different hook areas.
 * Each bit of custom code can now be given a priority other than the default.
 * Each section can now allow/disallow PHP code to be executed.
 * Added new sections for several action hooks: `hybrid_before_entry`, `hybrid_after_entry`,`
   hybrid_before_subsidiary`, and `hybrid_after_subsidiary`.

#### Version 0.1

 * Plugin launch. Everything’s new!

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **15 年前**
 *  啟用安裝數 **50+**
 *  WordPress 版本需求 ** 3.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/hybrid-hook/)
 * 標籤:
 * [custom](https://tw.wordpress.org/plugins/tags/custom/)[html](https://tw.wordpress.org/plugins/tags/html/)
   [php](https://tw.wordpress.org/plugins/tags/php/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hybrid-hook/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/hybrid-hook/reviews/)

## 參與者

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/hybrid-hook/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3687060)