Last active
December 14, 2015 12:18
-
-
Save braddalton/5085201 to your computer and use it in GitHub Desktop.
This code changes your page layout and can be modified using any of the layout options included in Genesis
This file contains hidden or 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
add_filter( 'genesis_pre_get_option_site_layout', 'child_do_layout' ); | |
function child_do_layout( $opt ) { | |
$opt = 'full-width-content'; // 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