Ever since I switched to Genesis for all my WordPress websites a few years ago, there’s one site that was always open in my browser tab: Genesis Visual Hook Guide by Christopher Cochran. Even though there is a plugin version of the same, I’ve always preferred just to refer to hooks in the various views directly on the website.
There is one problem with the current plugin and website version of Genesis Visual Hook Guide in that the hooks shown are hardcoded and are not dynamically generated. This means, you will not find several useful and new hooks added in Genesis like genesis_before_entry_content.
I have put together a simpler version of Genesis Visual Hook Guide called Genesis Simple Hook Guide (plugin) with the major differences being:
- All the Genesis 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
If you’d rather not install the plugin and wish to refer the hooks in Genesis Sample theme, you can do so on the Genesis Simple Hook Guide demo page.
Credit for the idea goes to Gary Jones and Sal Ferrarello for the main segment of the code.
Thanks, also to Christoph Herr, Timothy Jensen and Robin Cornett.
This is great, thank you so much Sridhar! Is your GitHub plugin compatible with GitHub Updater (in case you want/need to update it or want to add markers and filters in the future)?
It should be compatible with GitHub Updater but I have not tested it personally.
Thanks, I’ll install it
[…] is genesis_before_footer. There are many positions where you can show your footer widgets. This Genesis Simple Hook Guide can help you choose the exact place where you want to show your footer […]