Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #312102

    Hi, I need an additional template pages. The template works but the sidebar is not displayed. What am I doing wrong?

    In admin section

    frontend

    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

    • This topic was modified 10 years, 2 months ago by suchfin.
    #312245

    Hey suchfin!

    Can you post the link to your page please?

    Regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.