Skip to content

Instantly share code, notes, and snippets.

@jbalzar
Last active March 19, 2016 11:46
Show Gist options
  • Save jbalzar/b53beda063d07c9576f3 to your computer and use it in GitHub Desktop.
Save jbalzar/b53beda063d07c9576f3 to your computer and use it in GitHub Desktop.
Custom widget area in Genesis
<?php
add_action( 'genesis_after_header', 'custom_widget_name' );
function custom_widget_name() {
genesis_widget_area ('custom_widget_name', array(
'before' => '<div class="custom_widget_name"><div class="wrap">',
'after' => '</div></div>',
) );
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment