Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Below Header Widget
// Hook before header widget area.
add_action( 'genesis_after_header', 'digimanx_after_header' );
function digimanx_after_header() {
if ( is_page_template( 'page_blog.php' ) || is_single()) {
genesis_widget_area( 'blog-widget', array(
'before' => '<div class="blog-widget"><div class="wrap">',
'after' => '</div></div>',
) );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.