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

THA Hooks Interface

描述

THA Hooks Interface is a WordPress plugin developed by ThematoSoup. It creates a settings page which allows you to add code (PHP and HTML) by using hooks defined by the Theme Hook Alliance.

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 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“THA Hooks Interface” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 THA Hooks Interface 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.