Skip to content

Instantly share code, notes, and snippets.

@nutsandbolts
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nutsandbolts/9408deba914947a6b578 to your computer and use it in GitHub Desktop.
Save nutsandbolts/9408deba914947a6b578 to your computer and use it in GitHub Desktop.
Functions for Jummy
//* Add the widget area below the header image
add_action( 'genesis_after_header', 'nabm_add_below_header' );
function nabm_add_below_header() {
if ( is_home() )
genesis_widget_area( 'below-header-image', array(
'before' => '<div id="below-header-image">',
) );
}
//* Add the widget area before the content sidebar wrap
add_action( 'genesis_before_content_sidebar_wrap', 'nabm_add_cta' );
function nabm_add_cta() {
if ( is_home() )
genesis_widget_area( 'email-cta', array(
'before' => '<div id="email-cta">',
) );
}
@jummy79
Copy link

jummy79 commented Feb 27, 2014

Thank you kindly, ma'am!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment