protected function setup_offcanvas_responsive() { TimberFoundationRegions::set_wrapper('offcanvas'); TimberFoundationRegions::unset_header(); TimberFoundationRegions::set_header_large('topbar'); TimberFoundationRegions::set_header_small('tabbar'); }
<?php /* Template Name: Full Width */ TimberFoundationRegions::set_layout('full-width'); return TimberTemplateLoader::load_template();
<?php /* Template Name: No Sidebar (Centered) Example of how simple it is to change the layout once layouts are organized in regions. All this template file does is tell the template engine what layout to load and then calls on the Timber Template Loader to continue as normal. */ TimberFoundationRegions::set_layout('centered'); return TimberTemplateLoader::load_template();