<?php
/**
* The template for displaying page
* template name: Client Template
*
* @package TSS technology
* @since TSS technology 1.0
*/

get_header();
?>	<!-- BANNER -->
<div class="section banner-page about">
		<div class="container">
			<div class="row">
				<div class="col-sm-12 col-md-12">
					<div class="title-page"><?php the_title(); ?> </div>
					<ol class="breadcrumb">
						<li><a href="<?php echo home_url(); ?>">Home</a></li>
						<li class="active"><?php the_title(); ?></li>
					</ol>
				</div>
			</div>
		</div>
	</div>
	<?php $args = array('post_type'=>'our_client');

	$qr = new WP_Query($args);

	if($qr->have_posts())
	{
 	?>
	 
<div class="section why overlap">
		<div class="container"> 
			<div class="row"> 
				<div class="col-sm-12 col-md-12">
					<div class="box-partner">
						<!-- item 1 -->
						<?php while ($qr->have_posts()) { 
								$qr->the_post();
								$content = get_the_content();
								$img_url = wp_get_attachment_url(get_post_thumbnail_id($post->ID),'full');
						 ?>
						<div class="item">
							<div class="box-image">
								<div class="client-img">
									<a href="#"><img src="<?php echo $img_url; ?>" alt="" class="img-responsive"></a>
								</div>
							</div>
							<div class="box-info">
								<div class="heading"><?php the_title(); ?></div>
								<?php the_content(); ?>
							</div>
						</div>
						<?php } ?>
						<!-- item 2 -->
					</div>
				</div>
				
			</div>
		</div>
	</div>
<?php } get_footer(); ?>