<?php
/**
 * The template for displaying archive pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package ShoBe
 */

get_header();
?>

 <!-- START TITLE -->
 <section class="section"  id="primary">
        <div class="container">
           <h1 class="fw-medium"><?php the_archive_title(); ?></h1>
        </div>
    </section>
    <!-- END TITLE -->
<section class="section">
    <div class="container">
        <div class="row">
            <div class="col-lg-8">
                <?php  
				if( have_posts() ):
					// Start the loop.
					while( have_posts() ): the_post();
						get_template_part( 'template-parts/content');						
					// End of the loop.
					endwhile;
                    get_template_part( 'pagination' ); // Loads the pagination.php template 
               		else: 
				?>
						<p><?php esc_html_e( 'Nothing to display', 'shobe' ) ?></p>
				<?php endif; ?>

               
            </div>
            <div class="col-lg-4">
                <?php get_sidebar()?>
            </div>
        </div> 
    </div>  
</section>  

<?php get_footer(); ?>
