Find Genesis hooks (action and filter hooks) quick and easily by seeing their actual locations inside your theme.
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.
Screenshot 1: Markup using Custom Menu widget. Note the aside
, section
and div
parents to nav
.
Screenshot 2: Markup using this plugin. nav
is a sibling element to the title area div
.
- Download the latest tagged archive (choose the "zip" option).
- Go to the Plugins → Add New screen and click the Upload tab.
- Upload the zipped archive directly.
- Go to the Plugins screen and click Activate.
- Download the latest tagged archive (choose the "zip" option).
- Unzip the archive.
- Copy the folder to your
/wp-content/plugins/
directory. - Go to the Plugins screen and click Activate.
Check out the Codex for more information about installing plugins manually.
In a terminal, browse to your /wp-content/plugins/
directory and clone this repository:
git clone [email protected]:christophercochran/Genesis-Visual-Hook-Guide.git
Then go to your Plugins screen and click Activate.
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.
See the change log.
Built by Christopher Cochran