Structural Wraps
<?php
// Code goes in child theme’s functions.php.
// Add support for structural wraps
add_theme_support( 'genesis-structural-wraps', array(
'header',
'menu-primary',
'menu-secondary',
'site-inner',
'footer-widgets',
'footer'
) );
// Remove default wraps by removing the named element that should no longer contain the wrap.
// Ex.: To remove .site-inner’s .wrap:
// Add support for structural wraps
add_theme_support( 'genesis-structural-wraps', array(
'header',
'menu-primary',
'menu-secondary',
// 'site-inner',
'footer-widgets',
'footer'
) );
// To remove support for all structural wraps at once:
// Remove support for structural wraps
remove_theme_support( 'genesis-structural-wraps' );