<?php 
    while (have_posts()) {
        the_post();
        ?>

                                <?php 
        $wpex_count++;
        ?>

                                <?php 
        get_template_part('partials/testimonials/testimonials-entry');
        ?>

                                <?php 
        if ($wpex_count == wpex_testimonials_archive_columns()) {
            $wpex_count = 0;
        }
        ?>

                            <?php 
    }
    ?>

                        </div><!-- #testimonials-entries -->

                        <?php 
    wpex_pagination();
    ?>

                    <?php 
 *
 * @package Total WordPress theme
 * @subpackage Partials
 * @version 3.0.0
 */
// Exit if accessed directly
if (!defined('ABSPATH')) {
    exit;
}
// Get counter & increase it
global $wpex_count;
// Add classes to the entry
$classes = array();
$classes[] = 'testimonial-entry';
$classes[] = 'col';
$classes[] = wpex_grid_class(wpex_testimonials_archive_columns());
$classes[] = 'col-' . $wpex_count;
?>

<article id="#post-<?php 
the_ID();
?>
" <?php 
post_class($classes);
?>
>
	<?php 
get_template_part('partials/testimonials/testimonials-entry-content');
?>
	<div class="testimonial-entry-bottom">
		<?php