Created
May 10, 2013 20:38
-
-
Save JiveDig/5557213 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// 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