Lego2012
12/13/2016 - 9:20 AM

Template - Force Layout

Template - Force Layout

<?php
// Do NOT include the opening php tag

add_filter( 'genesis_pre_get_option_site_layout', 'child_do_layout' );
/**
 * Force layout
 *
 * @author Greg Rickaby
 * @since 1.0.0
 */
function child_do_layout( $opt ) {
    $opt = 'full-width-content'; // You can change this to any Genesis layout
    return $opt;
}