Genesis comes with 6 page layouts, which you may not need for every site. Here’s how to remove them.
/** Remove Unused Page Layouts */ // Un-comment the page layouts you wish to remove //genesis_unregister_layout( 'full-width-content' ); //genesis_unregister_layout( 'content-sidebar' ); genesis_unregister_layout( 'sidebar-content' ); genesis_unregister_layout( 'content-sidebar-sidebar' ); genesis_unregister_layout( 'sidebar-sidebar-content' ); genesis_unregister_layout( 'sidebar-content-sidebar' );
Credit: Bill Erickson
What would be the purpose of removing unused page layouts?
Hi Kyra. Well, if you are building a custom theme and it only comes with 2-column layouts you don’t want the user to switch to the 3-column layouts. So you could use this snippet to avoid that. Cheers