view(); get_footer(); } /** * The sidebar containing the main widget area * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package brisko */ public function sidebar() { Sidebar::get()->view(); } /** * The template for displaying archive pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package brisko */ public function archive() { get_header(); Archive::get()->view(); get_footer(); } /** * The template for displaying all single posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package brisko */ public function single() { get_header(); Single::get()->view(); get_footer(); } /** * The template for displaying 404 pages (not found) * * @link https://codex.wordpress.org/Creating_an_Error_404_Page * * @package brisko */ public function page_404() { get_header(); Page404::get()->view(); get_footer(); } /** * The template for displaying all pages * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site may use a * different template. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package brisko */ public function page() { get_header(); Page::get()->view(); get_footer(); } /** * Brisko Canvas * * @return void */ public function canvas_page() { get_header( 'canvas' ); CanvasPage::get()->view(); get_footer( 'canvas' ); } /** * Full Width * * @return void */ public function full_width_page() { get_header(); FullWidthPage::get()->view(); get_footer(); } /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package brisko */ public function search() { get_header(); Search::get()->view(); get_footer(); } }