Skip to content

Instantly share code, notes, and snippets.

@JiveDig
Created May 10, 2013 20:38
Show Gist options
  • Save JiveDig/5557213 to your computer and use it in GitHub Desktop.
Save JiveDig/5557213 to your computer and use it in GitHub Desktop.
// Register Widget Area Above Footer
genesis_register_sidebar( array(
'id' => 'after_content_widget',
'name' => __( 'After Content Widget', 'themename' ),
'description' => __( 'This is a widget area that will be centered after the content', 'themename' ),
) );
// Add Widget Area Above Footer
add_action( 'genesis_after_content', 'after_content_widget' );
function after_content_widget() {
genesis_widget_area( 'after_content_widget', array(
'before' => '<div class="after_content_widget">',
) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment