Hi, I need an additional template pages. The template works but the sidebar is not displayed. What am I doing wrong?
and here is my code from the template
<?php
/*
Template Name: Team
*/
/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
global $avia_config, $more;
get_header();
// echo avia_title();
?>
<div class="stretch_full container_wrap alternate_color light_bg_color title_container"><div class="container"><h1></h1></div></div>
<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
<div class='container'>
<main class='template-archives content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content'));?>>
<div class="entry-content-wrapper entry-content clearfix">
<?php
//display the actual post content
the_post();
the_content();
?>
</div>
<!--end content-->
</main>
<?php
wp_reset_query();
//get the sidebar
$avia_config['currently_viewing'] = 'page';
get_sidebar();
?>
</div><!--end container-->
</div><!-- close default .container_wrap element -->
<?php get_footer(); ?>
regards