<?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."assets/images/breadcrumb/dentalcarebg.jpg";
?>
<!--Start breadcrumb area-->     
<section class="breadcrumb-area" style="background-image: url(<?=$img?>);">
    <div class="banner-curve"></div>
    <div class="container">
        <div class="row">
            <div class="col-xl-12">
                <div class="inner-content clearfix text-center">
                    <div class="title wow slideInUp animated" data-wow-delay="0.3s" data-wow-duration="1500ms">
                       <h2><?php the_title();?><span class="dotted"></span></h2>
                    </div>
                    <div class="breadcrumb-menu wow slideInDown animated" data-wow-delay="0.3s" data-wow-duration="1500ms">
                        <ul class="clearfix">
                            <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
                            <li class="active"><?php the_title();?></li>
                        </ul>    
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!--End breadcrumb area-->
<!--Start Service Details Area-->
<section class="service-details-area">
    <div class="container">
        <div class="row">
            <div class="col-xl-9 col-lg-8">
                <div class="service-details-content">
                    <div class="service-details-text-box">
                        <h2><?php the_title();?><span class="dotted"></span></h2>
						<?php the_content();?>
                    </div>
                </div>
            </div>
            
            <div class="col-xl-3 col-lg-4">
                <div class="service-details-sidebar">
                    <div class="service-details-categories">
                        <div class="title">
                            <h3>Services Category<span class="dotted"></span></h3>
                        </div>
                        <div class="categories-box">
                            <?php echo wp_nav_menu( array( 'theme_location' => 'sidebar_service_menu',  'menu_class' => 'categories clearfix' , 'container' => false , 'walker' => new WP_Bootstrap_Navwalker() ) );?>
         <!--                   <ul class="categories clearfix">-->
								 <!--<li class="active"><a href="#">Dental Care</a></li>-->
								 <!--<li><a href="urgentcare.html">Emergency and Urgent Care</a></li>-->
								 <!--<li><a href="#">In-House Laboratory</a></li>-->
								 <!--<li><a href="#">Laser Therapy</a></li>-->
								 <!--<li><a href="#">Parasite Prevention</a></li>-->
								 <!--<li><a href="#">Pharmacy</a></li>-->
								 <!--<li><a href="#">Preventative Care</a></li>-->
								 <!--<li><a href="#">Puppy and Kitten Care</a></li>-->
								 <!--<li><a href="#">Spay and Neuter</a></li>-->
								 <!--<li><a href="#">Surgery</a></li>-->
								 <!--<li><a href="#">Vaccinations</a></li>-->
								 <!--<li><a href="#">Wellness Exams</a></li>-->
								 <!--<li><a href="#">Pet Memorials</a></li>-->
         <!--                   </ul>-->
                        </div>
                    </div>
                    
                    <div class="callto-action-box text-center" style="background-image: url(<?php echo get_stylesheet_directory_uri();?>/assets/images/resources/callto-action-box-bg.jpg)">
                        <p>Call To Action</p> 
                        <h3>Enjoy Your Whole<br> Weekend.</h3>
                        <a class="btn-one" href="#"><span class="txt">Appointment</span></a>   
                    </div>
                </div>
            </div>              
        </div>

    </div>
</section>   
<!--End Service Details Area-->
<?php get_footer(); ?>