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

yosefeliezrie/Genesis-Visual-Hook-Guide

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genesis Visual Hook Guide

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

Description

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.

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 git@github.com:yosefeliezrie/Genesis-Visual-Hook-Guide/git

Then go to your Plugins screen and click Activate.

Updates

This plugin supports the GitHub Updater plugin, so if you install that, this plugin becomes automatically updateable direct from GitHub.

Credits

Built by Yosef ELiezrie
Copyright 2016 [Yosef Eliezrie] (https://twitter.com/yosefeliezrie)

Frequently Asked Questions

= 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 ?g_markup=show ?g_hooks=show or ?g_filters=show to the end the url.

Changelog

= 1.0 =

  • Update: Work with Genesis 2.3.1
  • Added: Online show active hooks
  • Added: Added readme files
  • Added: Added code documentation

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

= 0.8.3 =

  • Fixed: get_theme_data() deprecated in WP 3.4 / replaced with wp_get_theme().

= 0.8.2 =

  • Fixed: Error messages when WP_DEBUG is enabled.

= 0.8.1 =

  • Added: Discription for genesis_header_right()
  • Fixed: Removed wp_print_styles in favor of wp_enqueue_scripts.

= 0.8 =

  • Added: Missing descriptions for the rest of the hooks.
  • Added: More filters: genesis_comments_closed_text, genesis_no_comments_text, genesis_no_pings_text

= 0.7b =

  • Added: More descriptions to a few of the hooks.
  • Added: More filters: genesis_post_info, genesis_post_meta, genesis_post_title_text, genesis_noposts_text, genesis_search_text, genesis_search_button_text, genesis_nav_home_text
  • Fix: Formatting of Document Head hook comments. Now followed by a carriage return.

= 0.6b =

  • Bug fix: Fixes an issue in which the path to the stylesheets required to style the hooks was incorrect.

= 0.5b =

  • Initial Beta Release

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

Languages

  • PHP 81.6%
  • CSS 18.4%