Description
Checks both the custom field and the theme option to find the user-selected site layout, and returns it.
Value is passed through genesis_site_layout filter just before returning.
Usage
echo genesis_site_layout();
Parameters
This function does not accept any parameters.
Example
$site_layout = genesis_site_layout(); if ( $site_layout == 'sidebar-content' ) { // do custom actions/filters here }
Uses: genesis_get_custom_field() genesis_get_option() genesis_get_default_layout()