Created
March 15, 2018 13:35
-
-
Save craigsimps/886836515402fa5a9e1ae275bf5143bc to your computer and use it in GitHub Desktop.
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 | |
// Force content-sidebar layout. | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' ); | |
// Force sidebar-content layout. | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' ); | |
// Force content-sidebar-sidebar layout. | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar_sidebar' ); | |
// Force sidebar-sidebar-content layout. | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_sidebar_content' ); | |
// Force sidebar-content-sidebar layout. | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content_sidebar' ); | |
// Force full-width-content layout. | |
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