I have a few custom php files that need to be full width. In earlier version we used…
function roots_display_sidebar() {
$sidebar_config = new Roots_Sidebar(
array(
'is_404',
'is_front_page',
array( 'in_array',
array(
basename( roots_template_path() ),
array(
'property.php',
'propertysearch.php',
'listing.php',
'la-wizard.php',
'archive-bar.php' // your template files here...
)
)
)
),
array(
'template-custom.php'
)
);
return $sidebar_config->display;
}
but this is not working currently. I am not quite sure how to add these php files using Roots_Sidebar.