<?php
   if ( ! defined( 'ABSPATH' ) ) {
     exit; // Exit if accessed directly
   }
?>

<?php get_header(); ?>
<?php $template_url = get_bloginfo ( 'template_url' ) . '/'; ?>
<?php 
   //to check if there is a post regarding the url access the page
   if (have_posts ()) :
     the_post(); 
   endif;
   $img = $template_url."img/breatcome_bg.jpg";
?>
<!-- Breadcrumbs -->
<div class="breadcrumbs overlay" style="background-image:url(<?=$img?>)">
	<div class="container">
		<div class="bread-inner">
			<div class="row">
				<div class="col-12">
					<h2>Team Details</h2>
					<ul class="bread-list">
						<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
						<li><i class="icofont-simple-right"></i></li>
						<li class="active">Team Detailswwwwwwwwwwwwwwww</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- End Breadcrumbs -->

<section class="doctor-area ptb-100" id="teambreadcrumb">
   <div class="container">
      <div class="row justify-content-center">
         <div class="col-lg-12 col-md-12 col-sm-12 col-12">
            <div class="section-title">
               <span>Teams</span>
               <?php the_content('17');?>
            </div>
         </div>
         <div class="col-lg-12 col-md-12 col-sm-12 col-12">
            <div class="row flex-column-reverse flex-lg-row justify-content-center">
               <div class="col-lg-8 col-md-12 col-sm-12 col-12">
                  <div class="name">
                    <?php the_content();?>
                  </div>
               </div>
               <div class="col-lg-4 col-md-12 col-sm-12 col-12">
                  <div class="team_con">
                     <div class="box">
                        <img src="<?php echo get_the_post_thumbnail_url( get_the_ID(),'full');?>">
                     </div>
                     <h3 class="title"><?php the_title();?></h3>
                     <h4>(<?php echo get_the_excerpt();?>)</h4>
                     <a href="<?php echo html_entity_decode( get_option( 'option_91' ) );?>" class="readmore">Book Appointment </a>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</section>

<?php get_footer(); ?>