Created
January 10, 2016 09:51
-
-
Save jayshreehcl/4e101eb7e805863a12d6 to your computer and use it in GitHub Desktop.
This snippet is for adding custom widget area above header. http://wpvkp.com/add-custom-widget-above-header-in-genesis-theme/
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_action( 'genesis_before_header', 'wpvkp_bhw', 9 ); | |
function wpvkp_bhw() { | |
genesis_widget_area( 'before-header', array( | |
'before' = '<div class="bh widget-area">', | |
'after' ='</div>', | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment