Last active
December 14, 2015 12:18
-
-
Save kraftbj/5084917 to your computer and use it in GitHub Desktop.
Force full width in Genesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Force full width layout */ | |
add_filter( 'genesis_pre_get_option_site_layout', 'child_do_layout' ); | |
function child_do_layout( $opt ) { | |
$opt = 'full-width-content'; // You can change this to any Genesis layout | |
return $opt; | |
} | |
/** Other options include: | |
* content-sidebar | |
* sidebar-content | |
* content-sidebar-sidebar | |
* sidebar-sidebar-content | |
* sidebar-content-sidebar | |
* full-width-content | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment