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

get_header();
?>
<section class="banner_section z_index_1 container-fluid" style="background: url(<?php the_field('banner_gobal','options'); ?>) center bottom/ cover no-repeat;">
			<div class="row">
				<div class="container">
					<div class="col-sm-12">
						<div class="row">
						 	<div class="sub_banner_text">
								
								<h2>
									<?php the_archive_title(); ?>
								</h2>
								
								
						 	</div>
						</div>
					</div>
				</div>
			</div>
		</section>
<section class="container-fluid    "   >
	<div class="row m_b_90 m_t_90">
		<div class="container">
			<div class="row flex_col   align_center      ">
				 <div class="title_text3   col-md-6 col-sm-6 col-xs-12">
					 
				 </div>
				  
			</div>
			
			<div class="row m_t_20">
				<div class="col-md-8 col-sm-12 col-xs-12">
				<?php
				  
					while ( have_posts() ) : the_post();
			 ?>
					<div class="blog_boxes row m0 p_t_20 p_b_20">
						<div class="col-md-6  col-sm-6 col-xs-12 blog_left" style="background: url(<?php the_post_thumbnail_url(); ?>) center center / cover no-repeat;">
							<div class="calender_se">
								<div class="date"><?php echo get_the_date('j'); ?></div>
								<div class="month"><?php echo get_the_date('M,Y'); ?></div>
							</div>
						</div>
						<div class="col-md-6  col-sm-6 col-xs-12 blog_right">
							<h2><?php the_title(); ?></h2>
							<div class="blog_meta">
								<div class="meta">
									<img src="<?php echo get_stylesheet_directory_uri();?>/images/blog_user.png" /> <?php the_author(); ?>
								</div>
								<div class="meta">
									<img src="<?php echo get_stylesheet_directory_uri();?>/images/blog_comment.png" /> Comments: <?php echo get_comments_number(); ?>
								</div>
							</div>
							
							<div class="blog_desc">
								<p><?php the_excerpt(); ?></p>
							</div>
							
							<a href="<?php the_permalink(); ?>" class="read_more"><img src="<?php echo get_stylesheet_directory_uri();?>/images/caret_left.png" /> <span>Read More</span></a>
						</div>
					</div>
			
					<?php endwhile; ?>
					
					
				</div>
				<div class="col-md-4 col-sm-12 col-xs-12">
				<?php echo get_sidebar(); ?>
				
				</div>
				 
			</div>
		</div>
	</div>
	 
</section>
		 
<?php get_footer(); ?> 