Genesis Framework : In this short tutorial, you’ll learn about how to Unregister Genesis Layout Settings. The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you’re a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. In Genesis powered websites you’ve to modify the child theme which is running on.
Anyway, these code snippets will help you to Unregister Genesis Layout Settings in Genesis Framework.
Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.
Unregister the Genesis Layout Settings
Below is the code to Unregister the Genesis Layout Settings: //* Do NOT include the opening php tag
//* 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' );
Final Words
I strongly recommended to take backup core files before customizing any Genesis Child Theme. Hope the above Genesis Tutorial was helpful and valued for you. Please don’t forget to share this with social friends and write a comment below if you need any assistance in customizing the look of your WordPress websites.