public
Last active

Register a default layout setting for your site using the Genesis Framework.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
//* Do NOT include the opening php tag
 
//* Register default layout setting
genesis_set_default_layout( 'content-sidebar' );
 
//* Register default layout setting
genesis_set_default_layout( 'sidebar-content' );
 
//* Register default layout setting
genesis_set_default_layout( 'content-sidebar-sidebar' );
 
//* Register default layout setting
genesis_set_default_layout( 'sidebar-sidebar-content' );
 
//* Register default layout setting
genesis_set_default_layout( 'sidebar-content-sidebar' );
 
//* Register default layout setting
genesis_set_default_layout( 'full-width-content' );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.