How to apply Full Content layout to archives in Genesis

Posted on Leave a comment
5/5 - (499 votes)

Looking to remove sidebar(s) on all archive pages in your Genesis site? Just add the following in child theme’s functions.php.

// Force full content layout on archives
add_action( 'get_header', function () {
	if ( !is_archive() ) {

	add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
} );
Leave a Reply

Your email address will not be published. Required fields are marked *