<?php
/**
 * The template for displaying posts in the Gallery post format
 */


?>
<?php if ( isset( $mirasat_params['grid'] ) && $mirasat_params['grid'] === 4 ) : ?><div class="col-lg-3 col-md-4 col-sm-6 col-ms-6 matchHeight"><?php endif; ?>
<?php if ( isset( $mirasat_params['grid'] ) && $mirasat_params['grid'] === 3 ) : ?><div class="col-lg-4 col-md-4 col-sm-6 col-ms-6 matchHeight"><?php endif; ?>
<?php if ( ! isset( $mirasat_params['grid'] ) || $mirasat_params['grid'] === 2 ) : ?><div class="col-lg-6 col-md-6 col-sm-6 col-ms-6 matchHeight"><?php endif; ?>

	<article class="item ">

		<a href="<?php esc_url( the_permalink() ); ?>" class="photo"><?php echo the_post_thumbnail( 'mirasat-gallery' ); ?><span class="ltx-border-top"></span><span class="ltx-border-bottom"></span></a>
		<div class="descr">
			<a href="<?php esc_url( the_permalink() ); ?>"><h5 class="header"><?php the_title(); ?></h5></a>
		</div>
	</article>
</div>
