Genesis Simple Hook Guide
WordPress plugin that displays names of all Genesis hooks on the current page dynamically.
by Sridhar Katakam · github.com/srikat/genesis-simple-hook-guide · website
★ 23stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/srikat/genesis-simple-hook-guide/archive/refs/heads/master.zipDeclares an update source (srikat/Genesis-Simple-Hook-Guide), so updates arrive through the plugin's own updater.
From the readme
Genesis Simple Hook Guide
Find Genesis action hooks quick and easily by seeing their actual locations inside your theme.
Description
This is a simplified version of Genesis Visual Hook Guide plugin by Christopher Cochran with the following changes:
Hooks are dynamically generated vs being hardcoded
Clicking anywhere on a hook selects the hook name ready to be easily copied
Does not show filters and markup
Once installed, this plugin adds a dropdown menu to the admin bar to see the available hooks on the page being viewed in the front end.
Genesis Simple Hook Guide Hooks Live Demo
Credits:
Gary Jones for the idea
Sal Ferrarello for the code
Genesis Theme Framework required.
Installation
1. Click on Clone or download button, then Download ZIP.
2. Extract the zip file and upload the entire genesis-simple-hook-guide folder to the /wp-content/plugins/ directory
3. Activate the plugin through the 'Plugins' menu in WordPress
Frequently Asked Questions
Since the site header is fixed in Genesis Sample 2.6.0, when hooks are shown, the header is hanging in the middle of the page.
You have 2 options.
a) Add top: 0 to .site-header in CSS. This will cover some hooks above