<?php /** * Custom page template * * Template Name: Fullwidth page * * @package Auberge * @copyright 2015 WebMan - Oliver Juhas * @version 1.0 */ get_header(); wmhook_entry_before(); if (have_posts()) { the_post(); get_template_part('content', 'page'); wp_reset_query(); } wmhook_entry_after(); get_footer();
function wm_wc_wrapper_bottom() { //Helper variables global $wc_page_id; $atts = apply_filters('wmhook_wm_wc_wrapper_sidebar_atts', array('page_id' => $wc_page_id), $wc_page_id); $sidebar = wm_sidebar_setup(false, $atts); //Output echo '</section>'; wmhook_entry_after(); echo "\r\n\r\n\t" . '</div> <!-- /content-area -->'; echo $sidebar['output']; echo "\r\n" . '</div> <!-- /wrap-inner -->' . "\r\n\r\n"; }