
<?php if ( $the_query->have_posts() ) : ?>
	<div class="tm-sc tm-sc-blog tm-sc-blog-masonry <?php echo esc_attr(implode(' ', $classes)); ?>">
		<?php include('filter.php'); ?>

		<!-- Isotope Gallery Grid -->
		<div id="<?php echo esc_attr( $holder_id ) ?>" class="isotope-layout masonry grid-<?php echo esc_attr( $columns ); ?> clearfix">
			<div class="isotope-item isotope-item-sizer"></div>

			<!-- the loop -->
			<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
			<?php include('filter-term-list-each-post.php'); ?>
			<div class="isotope-item <?php echo esc_attr( $term_slugs_list_string );?>">
				<?php
					echo educacion_mascot_shortcode_get_blog_post_format( get_post_format(), $params_array );
				?>
			</div>
			<?php endwhile; ?>
			<!-- end of the loop -->
		</div>
		<?php wp_reset_postdata(); ?>
	</div>
		
	<?php educacion_mascot_get_shortcode_template_part( 'show-more-btn', null, 'blog/tpl/parts', $params, false ); ?>

<?php else : ?>
	<?php educacion_mascot_no_posts_match_criteria_text(); ?>
<?php endif; ?>