How to Unregister Genesis Default Layouts Except Sidebar-Content and Full-Width

How to Unregister Genesis Default Layouts Except Sidebar-Content and Full-Width

wprocket

Here is the code snippet to unregister default layouts except sidebar-content and full-width in Genesis.

// Unregister default layouts
genesis_unregister_layout( 'content-sidebar' );
genesis_unregister_layout( 'content-sidebar-sidebar' );
genesis_unregister_layout( 'sidebar-sidebar-content' );
genesis_unregister_layout( 'sidebar-content-sidebar' );

 

Add the code snippet in your theme’s functions.php

GenesisPro728x90

Facebook
Twitter
LinkedIn
Pinterest
Tumblr
Anwer Ashif

Anwer Ashif

Founder of RainaStudio. Help businesses and individuals to create and outstand their online presence. Our success rate is measurable. Our blog served all around the world and counting.

Leave a Reply

Your email address will not be published. Required fields are marked *