-
-
Save nutsandbolts/9408deba914947a6b578 to your computer and use it in GitHub Desktop.
Functions for Jummy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* 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">', | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you kindly, ma'am!