Created
November 16, 2015 04:43
-
-
Save reasonstousegenesis/7fae45b0d273bf0f0a53 to your computer and use it in GitHub Desktop.
Use the full width content (no sidebar) layout as the default with 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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Use the full width content (no sidebar) layout as the default with Genesis | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/full-width-content/ | |
*/ | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment