Created
September 6, 2016 21:47
-
-
Save davidperezgar/332875386d7d37168c7bb47bbccac1e6 to your computer and use it in GitHub Desktop.
Remove a 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 | |
//* Remove content/sidebar layout | |
genesis_unregister_layout( 'content-sidebar' ); | |
//* Remove sidebar/content layout | |
genesis_unregister_layout( 'sidebar-content' ); | |
//* Remove content/sidebar/sidebar layout | |
genesis_unregister_layout( 'content-sidebar-sidebar' ); | |
//* Remove sidebar/sidebar/content layout | |
genesis_unregister_layout( 'sidebar-sidebar-content' ); | |
//* Remove sidebar/content/sidebar layout | |
genesis_unregister_layout( 'sidebar-content-sidebar' ); | |
//* Remove full-width content layout | |
genesis_unregister_layout( 'full-width-content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment