<?php /* Template Name: Inyana Inner Pages Template */ get_header(); 
    include get_template_directory() . '/inc/menus/menu.php'; 
?>
	<main role="main">
	    <?php $backgroundImg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?>
		<section class="header-programs" style="background: linear-gradient(to top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5)), url('<?php echo $backgroundImg[0]; ?>') no-repeat;background-size: cover;background-position: center center; ">
		    <div class="overlay">
		    <div class="page-title">
        		  <div class="container">
                    <div class="row">
						<div class="col-md-7" data-aos="fade-up"> 
							<div class="heading-section">
							    <h1 class="entry-title"><?php the_title(); ?></h1>
							<p><?php the_excerpt(); ?></p>
							</div>
							<?php custom_breadcrumb(); ?>
						</div>
						<div class="col-md-5 d-none d-md-block">&nbsp;</div>
                    </div>
                </div>
		    </div>
		    </div>
        </section><!-- Header Section !-->

		<!-- section -->
		<section>
		    <div class="page-content">
		        <?php if (have_posts()): while (have_posts()) : the_post(); ?>

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

				<?php the_content(); ?>

				<?php comments_template( '', true ); // Remove if you don't want comments ?>

				<br class="clear">

				<?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(); ?>
