| Server IP : 152.53.162.115 / Your IP : 216.73.217.85 Web Server : Apache/2 System : Linux host 6.12.0-55.40.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:54:51 EDT 2025 x86_64 User : pbshosting ( 1005) PHP Version : 8.3.30 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/pbshosting/domains/midtownclinics.com/private_html/wp-content/themes/midtown/ |
Upload File : |
<?php
/**
* The Template for displaying all single posts
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
$banner_img = get_field('banner');
if($banner_img) {
$banner = get_field('banner');
} else {
$banner = get_template_directory_uri().'/images/inner-banner.jpg';
}
?>
<section class="inner-banner">
<img src="<?php echo $banner; ?>" alt="<?php the_title(); ?>" class="inner-img">
<div class="caption-con">
<h2><?php the_title(); ?></h2>
<ul>
<li><a href="<?php echo site_url('/'); ?>">Home</a></li>
<li class="active"><a><?php the_title(); ?></a></li>
</ul>
</div><!-- caption=con -->
</section>
<section class="inner-pg">
<div class="special-container">
<div class="container-flued">
<div class="row">
<div class="first-sec">
<div class="col-md-12 col-sm-12 col-xs-12">
<h4><?php the_title(); ?></h4>
</div><!-- col-3 -->
<div class="col-md-12 col-sm-12 col-xs-12">
<?php the_content(); ?>
<div class="gallery">
<?php
$galleries = get_field('gallery');
if($galleries)
{
foreach($galleries as $gallery) {
$image = aq_resize( $gallery, 280, 165, true );
echo '<div class="col-sm-3">
<a class="fancybox" href="'.$gallery.'" data-fancybox-group="gallery"><img src="'.$image.'" alt="" /></a>
</div>';
}
}
?>
</div>
</div><!-- col-8 -->
</div><!-- .first-sec -->
</div><!-- row -->
</div><!-- container -->
</div><!-- special-container -->
</section>
<?php endwhile; ?>
<?php get_footer(); ?>