Created
October 29, 2018 13:49
-
-
Save authentikHQ/b1021ab856052c8c8cb4acf5dd85a7e9 to your computer and use it in GitHub Desktop.
Set a default site layout with the Genesis Framework.
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 | |
// Do NOT include the opening php tag | |
// Set content/sidebar as the default layout. | |
genesis_set_default_layout( 'content-sidebar' ); | |
// Set sidebar/content as the default layout. | |
genesis_set_default_layout( 'sidebar-content' ); | |
// Set content/sidebar/sidebar as the default layout. | |
genesis_set_default_layout( 'content-sidebar-sidebar' ); | |
// Set sidebar/sidebar/content as the default layout. | |
genesis_set_default_layout( 'sidebar-sidebar-content' ); | |
// Set sidebar/content/sidebar as the default layout. | |
genesis_set_default_layout( 'sidebar-content-sidebar' ); | |
// Set full-width content as the default layout. | |
genesis_set_default_layout( 'full-width-content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment