<?php get_header(); ?>
<div id="core" class="container_alt page template_page">
	 <div class="news_posts">
	
	<div class="single_practice">
			<?php while ( have_posts() ) : the_post();?>
		
			<div class="main_img">
				<?php the_post_thumbnail( 'full' ); ?>
			</div>
      <?php $page_url =  site_url();?>
			<div class="inner-page-section2">
				<div class="container">
					<div class="news-detail-bx">
								<div class="left_column">
									<span class="gen_heading">News</span>
										<?php $args = array(
										'post_type' => 'news',
										'posts_per_page' => '5',
										'order' => 'DESC'
										);
										  $my_posts = new WP_Query( $args );?>
										 <?php while ( $my_posts->have_posts() ) : $my_posts->the_post() ?>
										  <div class="latest_news">
										  	<a href="<?php the_permalink();?>"><span class="gen_title"> <?php the_title();?> </span> <span class="arrow"><img src="<?php echo bloginfo('template_url');?>/assets/images/news-arrow.svg"></span></a>
										  </div>
										  <?php endwhile;?>
										  <?php wp_reset_query();?>
										 <a href="<?php echo site_url();?>/news1/" class="news-button">All NEWS </a>
								</div>
								<div class="right_column">
						   			<h3 class="sub-heading"><?php the_title();?></h3>
									<p><?php the_content();?></p>
							</div>
					</div>
			</div>
		</div>

			<?php  endwhile; 
			 wp_reset_query();?>	
		</div>
</div>

<?php get_footer(); ?>
 
