Move Footer and Footer Widgets Out of Site Container

If you use the Genesis Framework and you want to move the footer and the footer widgets out of the site-container div, you can use the following snippets.

If you want to move the footer out of .site-container, you can use the code below:

remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
add_action( 'genesis_after', 'genesis_footer_markup_open', 11 );
add_action( 'genesis_after', 'genesis_do_footer', 12 );
add_action( 'genesis_after', 'genesis_footer_markup_close', 13 );

If you want to move the footer widgets out of .site-container, you can use the code below:

remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
add_action( 'genesis_after', 'genesis_footer_widget_areas' );