Title: THA Hooks Interface
Author: Slobodan Manić
Published: <strong>2013 年 11 月 14 日</strong>
Last modified: 2015 年 9 月 10 日

---

搜索插件

![](https://ps.w.org/tha-hooks-interface/assets/banner-772x250.jpg?rev=804256)

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

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

# THA Hooks Interface

 作者：[Slobodan Manić](https://profiles.wordpress.org/slobodanmanic/)

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

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

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

## 描述

THA Hooks Interface is a WordPress plugin developed by [ThematoSoup](http://thematosoup.com).
It creates a settings page which allows you to add code (PHP and HTML) by using 
hooks defined by the [Theme Hook Alliance](https://github.com/zamoose/themehookalliance).

Core WordPress offers a suite of action hooks and template tags, but does not cover
many of the common use cases. The Theme Hook Alliance is a community-driven effort
to agree on a set of third-party action hooks that THA-compatible themes pledge 
to implement in order to give desired consistency.

THA Hooks Interface checks whether a theme uses these standardized hooks and if 
it does, it creates an interface where you can add code to almost any part of the
theme.

If your active theme does not declare support for [Theme Hook Alliance](https://github.com/zamoose/themehookalliance)
hooks, you can still use with wp_head and wp_footer hooks which are standard WordPress
hooks. Also, if it doesn’t, please bug your theme developer about it 🙂

Banner image credits: http://www.flickr.com/photos/notahipster/3974559627/

## 屏幕截图

 * [[
 * THA Hooks Interface Dashboard – screenshot-1.png

## 安装

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for THA Hooks Interface
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `tha-hooks-interface.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download ‘tha-hooks-interface.zip’
 2. Extract the ‘tha-hooks-interface’ directory to your computer
 3. Upload the ‘tha-hooks-interface’ directory to the ‘/wp-content/plugins/’ directory
 4. Activate the plugin in the Plugin dashboard

## 常见问题

  The plugin doesn’t work. Why?

You must have a theme that’s created using standardized hooks from Theme Hook Alliance.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Slobodan Manić ](https://profiles.wordpress.org/slobodanmanic/)
 *   [ Dragan Nikolic ](https://profiles.wordpress.org/nikolicdragan/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

 * Fixes plugin uninstall error

#### 1.1

 * Fixes two more undefined index notices in class-tha-hooks-interface-admin.php,
   props @codecandid

#### 1.0.1

 * Fixes an undefined index notice in class-tha-hooks-interface-admin.php

#### 1.0

 * The first version of the plugin.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tha-hooks-interface/)
 * 标签
 * [hooks](https://cn.wordpress.org/plugins/tags/hooks/)[theme hook alliance](https://cn.wordpress.org/plugins/tags/theme-hook-alliance/)
 *  [高级视图](https://cn.wordpress.org/plugins/tha-hooks-interface/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Slobodan Manić ](https://profiles.wordpress.org/slobodanmanic/)
 *   [ Dragan Nikolic ](https://profiles.wordpress.org/nikolicdragan/)

## 支持

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

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