Created
May 10, 2015 15:25
-
-
Save reasonstousegenesis/5e875a7440eaccce4bb2 to your computer and use it in GitHub Desktop.
Override the default layout option with Genesis (longhand version)
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Override the default layout option with Genesis (longhand version) | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/default-layout/ | |
*/ | |
add_filter( 'genesis_pre_get_option_site_layout', 'rtug_default_layout' ); | |
function rtug_default_layout( $layout ) { | |
return 'full-width-content'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment