Skip to content

Instantly share code, notes, and snippets.

@duroe5698
Last active November 25, 2015 17:23
Show Gist options
  • Save duroe5698/0f17a77aa321128f4fc1 to your computer and use it in GitHub Desktop.
Save duroe5698/0f17a77aa321128f4fc1 to your computer and use it in GitHub Desktop.
Unregister Layout Options For Genesis Framework Snippet
<?php
//* Unregister content/sidebar layout setting
genesis_unregister_layout( 'content-sidebar' );
//* Unregister sidebar/content layout setting
genesis_unregister_layout( 'sidebar-content' );
//* Unregister content/sidebar/sidebar layout setting
genesis_unregister_layout( 'content-sidebar-sidebar' );
//* Unregister sidebar/sidebar/content layout setting
genesis_unregister_layout( 'sidebar-sidebar-content' );
//* Unregister sidebar/content/sidebar layout setting
genesis_unregister_layout( 'sidebar-content-sidebar' );
//* Unregister full-width content layout setting
genesis_unregister_layout( 'full-width-content' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment