Adding a Sidebar Before Footer Area, let’s add in in functions.php
// Register the sidebar: "before footer area"
genesis_register_sidebar( array(
'id' => 'awkbeforefooterarea',
'name' => __( 'AWK Before Footer Area', 'child theme' ),
'description' => __( 'This is AWK Before Footer Widget', 'child theme' ),
) );
// Position the sidebar: "before footer area"
add_action ('genesis_before_footer','awk_before_footer_area', 15);
function awk_before_footer_area () {
genesis_widget_area( 'awkBeforeFooterArea', array(
'before' => '<div class="awk-before-footer-class" id="awkbeforefooterid">',
'after' => '</div>',
) );
}