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

Genesis Visual Hook Guide

描述

Once a tool for myself the Genesis Visual Hook guide has slowly evolved into what it is today. I finally welcome the plugin version of the popular Visual Genesis Hooks and Filters Guide from Genesis Tutorials.

Once installed this plugin adds a drop down menu to the admin bar to select between three views (Hook, Filter, and Markup). Select an option or all three to see the hooks in their actual locations on your current theme.

Great companion to Genesis Simple Hooks.

Genesis Theme Framework required.

螢幕截圖

  • Plugin in action on the default Sample Child Theme.
  • Hooks in Document Head.

安裝

  1. Upload the entire genesis-visual-hook-guide folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

Installation Instructions
  1. Upload the entire genesis-visual-hook-guide folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
I have my admin bar disable, can I still view the hooks without it?

Sure! The views are triggered by a query string. Simply add ?gvhg_markup=show ?gvhg_hooks=show or ?gvhg_filters=show to the end the url.

評價

2018年7月13日
Used to be great for editing and styling your web. But it does not work with the last version of Wordpress.
2016年9月3日
I've used this for a long time when working with Genesis themes. But nothhing beats seeing it outlined in the theme you are working on! This is now a standard install for all my development setups whenever I'm using Genesis. It's really helpful. 🙂
閱讀全部29個評價

貢獻者及開發者

“Genesis Visual Hook Guide” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Genesis Visual Hook Guide 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

  • Added: Activated notice.
  • Added: Automating the locating of hooks (props salcode)
  • Changed: Main file name updated to match plugin slug. Due to this, plugin will need to be reactivated.
  • Changed: Query strings to display hooks, filters, and markup are now gvhg_hooks, gvhg_filters and gvhg_markup.
  • Changed: Action hooks no longer have descriptions. This will be re-added in a later release.
  • Fixed: Escapes output of add_query_arg
  • Fixed: Filter hooks genesis_seo_title and genesis_seo_description names were displayed wrong.

0.9.5

  • Added: Clear menu item to disable all active displayed views. (Props salcode)
  • Fixed: Don’t add actions onto genesis’ hooks unless displaying. (Props jb510)
  • Fixed: The textual value echod from gvhg_ping_author_says_text function was incorrect.
  • Updated: Simplified filter hook callbacks. (Props garyj)

0.9.0

  • Added: New Hooks from Genesis 2.0 (HTML5):
    genesis_before_entry,
    genesis_entry_header,
    genesis_before_entry_content,
    genesis_entry_content,
    genesis_after_entry_content,
    genesis_entry_footer,
    genesis_after_entry,
    genesis_before_post,
  • Added: New markup containers and classes for Genesis 2.0 (HTML5):
  • Fixed: Added filter for genesis_footer_creds_text.