<?php get_header(); ?>
<div id="content" class="sbar">
    <div class="container">
        <div class="row">              

        	<div class="<?php archi_content_columns(); ?>"> 
                <?php if (have_posts()){ ?>
                    <div id="post-<?php the_ID(); ?>" <?php post_class('page-content entry-content'); ?>>
                		<?php while (have_posts()) : the_post()?>                        
                            <?php the_post_thumbnail() ?>            			
                            <?php the_content(); ?>
                            <?php
                                if ( comments_open() || get_comments_number() ) :
                                    comments_template();
                                endif; 
                            ?>
                            <?php
                                wp_link_pages( array(
                                    'before'      => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'archi' ) . '</span>',
                                    'after'       => '</div>',
                                    'link_before' => '<span>',
                                    'link_after'  => '</span>',
                                    'pagelink'    => '<span class="screen-reader-text">' . esc_html__( 'Page', 'archi' ) . ' </span>%',
                                    'separator'   => '<span class="screen-reader-text">, </span>',
                                ) );
                            ?>
                		<?php endwhile; ?>                
                    </div> 
                <?php 
                    }else {
                      esc_html_e('Page not found', 'archi'); 
                }?>
        	</div>

        	<?php get_sidebar(); ?>          
        	
        </div>
    </div>
</div>

<?php get_footer(); ?>