Skip to content

Find Genesis hooks (action and filter hooks) quick and easily by seeing their actual locations inside your theme. WordPress.org version found here: http://wordpress.org/extend/plugins/genesis-visual-hook-guide/

Notifications You must be signed in to change notification settings

christophercochran/Genesis-Visual-Hook-Guide

Repository files navigation

Genesis Visual Hook Guide

Find that hook you need!

Find Genesis hooks (action and filter hooks) quick and easily by seeing their actual locations inside your theme.

Description

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.

Screenshots

Plugin in action on the default Sample Child Theme.
Screenshot 1: Markup using Custom Menu widget. Note the aside, section and div parents to nav.


Hooks in Document Head.
Screenshot 2: Markup using this plugin. nav is a sibling element to the title area div.

Installation

Upload

  1. Download the latest tagged archive (choose the "zip" option).
  • Go to the PluginsAdd New screen and click the Upload tab.
  • Upload the zipped archive directly.
  • Go to the Plugins screen and click Activate.

Manual

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

Git

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.

FAQ

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.

Change Log

See the change log.

Credits

Built by Christopher Cochran

About

Find Genesis hooks (action and filter hooks) quick and easily by seeing their actual locations inside your theme. WordPress.org version found here: http://wordpress.org/extend/plugins/genesis-visual-hook-guide/

Resources

Stars

Watchers

Forks

Packages

No packages published