Created
May 10, 2015 15:24
-
-
Save reasonstousegenesis/aeb32bc896f786af4f10 to your computer and use it in GitHub Desktop.
Override the default layout option 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. | |
/** | |
* Override the default layout option with Genesis (choose one) | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/default-layout/ | |
*/ | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' ); | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' ); | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar_sidebar' ); | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_sidebar_content' ); | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content_sidebar' ); | |
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