The Simple Hooks plugin was developed to extend the capabilities of the Genesis Theme Framework. With this plugin, it’s possible to hook HTML, PHP and shortcodes to any of the existing hooks within Genesis.
Requirements
Genesis v1.2.1+
Download
The Genesis Simple Hooks plugin is hosted at the WordPress Plugins directory. You can download it there.
Installation
1) Upload the entire genesis-simple-hooks folder to the /wp-content/plugins/ directory
2) DO NOT change the name of the genesis-simple-hooks folder
3) Activate the plugin through the ‘Plugins’ menu in WordPress
4) Find a hook that you’d like to use (they’re grouped together logically)
5) Insert the code you’d like to execute on that hook
6) Choose whether or not to execute Shortcodes and PHP on that hook
7) Save the changes
Usage
This plugin creates a new Genesis settings page that allows you to insert code (HTML, Shortcodes, and PHP), and attach it to any of the 50+ action hooks throughout the Genesis Theme Framework. Instead of the sometimes tedious and unfamiliar process of creating functions in your theme files, this plugin gives you an attractive, easy to use interface for modifying your Genesis theme via the hook system. The plugin accepts HTML, Shortcodes, and PHP and gives you access to all 50+ hooks built into the Genesis theme, and a few built-in WordPress hooks as well.
Examples
Below you will see several examples of how the Simple Hooks plugin can be used:
Placing an Advertising Banner Above Your Header
If you would like to show an ad banner above your header, you can do so by placing your ad code in the ‘Header Hooks’ box and in the genesis_before_header section of the plugin page. Here’s how that would look:

Customizing the Post Info Section
If you would like to customize the Post Info section below the post title, you can do so by unhooking the current Post Info function and placing your PHP code in the ‘Post/Page Hooks’ box and in the genesis_before_post_content section of the plugin page. Make sure you select ‘Unhook genesis_post_info() function from this hook’ option and select the ‘Execute PHP on this hook’ option. (sample code)

Customizing the Post Meta Section
If you would like to customize the Post Meta section below the post title, you can do so by unhooking the current Post Meta function and placing your PHP code in the ‘Post/Page Hooks’ box and in the genesis_after_post_content section of the plugin page. Make sure you select ‘Unhook genesis_post_meta() function from this hook’ option and select the ‘Execute PHP on this hook’ option. (sample code)

Customizing the Footer
If you would like to customize the footer, you can do so by unhooking the current Footer function and placing your PHP code in the ‘Footer Hooks’ box and in the genesis_do_footer section of the plugin page. Make sure you select ‘Unhook genesis_do_footer() function from this hook’ option and select the ‘Execute PHP on this hook’ option. (sample code)

If you are using the Footer – Go To Top or the Footer – Credits (only) options, you can center your text by adding the following code in your css:
#footer .wrap {
text-align: center;
}
Sample Code Snippets
Post Info
<div class="post-info">
<span class="time"><?php the_time('F j, Y'); ?></span> <span class="author">by <?php the_author_posts_link(); ?></span> <span class="post-comments"><a href="<?php the_permalink(); ?>#respond"><?php comments_number('Leave a Comment', '1 Comment', '% Comments'); ?></a></span> <a class="post-edit-link"><?php edit_post_link('(Edit)', '', ''); ?></a>
</div>
Post Meta
<div class="post-meta">
<span class="categories">Filed under: <?php the_category(', ') ?></span> <span class="tags">Tagged with <?php the_tags('') ?></span>
</div>
Footer – Go To Top & Credits
<div class="gototop">
<p><a href="#wrap" rel="nofollow">Return to top of page</a></p>
</div>
<div class="creds">
<p>Copyright © <?php echo date('Y'); ?> · <a href="http://www.studiopress.com/themes/genesis" title="Genesis Theme Framework">Genesis Theme Framework</a> by <a href="http://www.studiopress.com/">StudioPress</a> · <a href="http://wordpress.org/" title="WordPress">WordPress</a> · <?php wp_loginout(); ?></p>
</div>
Footer – Go To Top (only)
<p><a href="#wrap" rel="nofollow">Return to top of page</a></p>
Footer – Credits (only)
<p>Copyright © <?php echo date('Y'); ?> · <a href="http://www.studiopress.com/themes/genesis" title="Genesis Theme Framework">Genesis Theme Framework</a> by <a href="http://www.studiopress.com/">StudioPress</a> · <a href="http://wordpress.org/" title="WordPress">WordPress</a> · <?php wp_loginout(); ?></p>



