Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//* Register widget areas
genesis_register_sidebar( array(
'id' => 'pre-footer',
'name' => __( 'Before Footer Widgets', 'theme' ),
'description' => __( 'This is a Pre-Footer Widget area.', 'theme' ),
) );
add_action('genesis_before_footer', 'pre_footer_widget', 2 );
function pre_footer_widget() {
genesis_widget_area( 'pre-footer', array(
'before' => '<div class="pre-footer">',
'after' => '</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.