[WordPress] 外掛分享: THA Hooks Interface

WordPress 外掛 THA Hooks Interface 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「THA Hooks Interface」是 2013-11-13 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2015-09-10,距離現在已有 3523 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nikolicdragan | slobodanmanic |

外掛標籤

THA | hooks | ThematoSoup | theme hook alliance |

內容簡介

THA Hooks Interface 是由 ThematoSoup 開發的 WordPress 外掛。它創建了一個設定頁面,讓您可以使用由Theme Hook Alliance定義的鉤子來添加程式碼 (PHP 和 HTML)。

WordPress 核心提供了一組動作鉤子和模板標記,但並未涵蓋許多常見的使用情況。Theme Hook Alliance 是一個社區驅動的努力,在這個努力中,大家同意使用一組第三方動作鉤子,並且THA相容的佈景主題必須實現它們,以獲得所需的一致性。

THA Hooks Interface 會檢查主題是否使用了這些標準化鉤子,如果使用了,它將創建一個介面,您可以在幾乎任何部分添加程式碼。

如果您的啟用佈景主題不支援Theme Hook Alliance鉤子,您仍然可以使用 wp_head 和 wp_footer 鉤子,它們是標準的 WordPress 鉤子。另外,如果您的佈景主題未支援 THA 鉤子,請聯繫佈景主題開發人員解決這個問題 🙂

橫幅圖片來源:http://www.flickr.com/photos/notahipster/3974559627/

原文外掛簡介

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/

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「THA Hooks Interface」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 |

延伸相關外掛(你可能也想知道)

  • Google Tag Manager 》你可以在此註冊 Google Tag Manager 帳戶。, 這個外掛讓使用 Google Tag Manager 更加容易,它會自動加入所有的程式碼,你只需要提供帳戶 ID 就行了!, 。

文章
Filter
Apply Filters
Mastodon