<?php /* Template Name: Programs Pages Template */ get_header(); 
    include get_template_directory() . '/inc/menus/menu1.php'; 
?>
	<main role="main">
	    <section class="page-header shadow-sm">
	        <div class="container">
	            <div class="row">
	                <div class="col-md-7 col-sm-7" data-aos="fade-up">
	                 <h1 class="entry-title"><?php the_title(); ?></h1>
	                </div>
	                <div class="col-md-5 col-sm-5 align-self-center d-md-block d-none">
	                    <?php custom_breadcrumb(); ?>
	                </div><!-- breadcrumb !-->
	            </div><!-- row !-->
	        </div><!-- container !-->
	    </section><!-- Header Section !-->
		<section>
		    <div class="content-area" data-aos="fade-up">
		        <?php if (have_posts()): while (have_posts()) : the_post(); ?>

			<!-- article -->
			<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

				<?php the_content(); ?>
				
				<?php $backgroundImg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?>
		<div class="prog-content-end" style="background:linear-gradient(to bottom, #F7F7F6, #F7F7F6, #F7F7F6, #F7F7F6f0, #F7F7F6e8, #fff3, #fff0, #fff0, #fff0, #fff0, #fff0, #fff0), url('<?php echo $backgroundImg[0]; ?>')"></div>

				<?php edit_post_link(); ?>

			</article>
			<!-- /article -->

		<?php endwhile; ?>

		<?php else: ?>

			<!-- article -->
			<article>

				<h2><?php _e( 'Sorry, nothing to display.', 'kipya' ); ?></h2>

			</article>
			<!-- /article -->

		<?php endif; ?>
		    </div>
		</section>
		<!-- /section -->
 </main>


<?php get_footer(); ?>
