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