askdesign
1/13/2016 - 4:36 PM

How to remove Footer Widgets on specific Pages in Genesis

January 14, 2016 by Sridhar Katakam

// Remove Footer Widget Areas on 'About' and 'Contact' Pages
add_action( 'genesis_after_content_sidebar_wrap', 'sk_footer_widget_areas' );
function sk_footer_widget_areas() {

	if ( is_page( array( 'about', 'contact' ) ) ) {
		remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
	}

}