<?php

if ( ! defined( 'ABSPATH' ) ) exit;
$gridpress_grid_style = !empty( $gridpress_grid_style ) ? $gridpress_grid_style : '';
if ($gridpress_grid_style == 'style24' || $gridpress_grid_style == 'style25') {
    echo '</div>';
}
?>

</div>
</div>
<?php
if (!empty($gridpress_pagination)) {
    echo wp_kses_post($gridpress_pagination);
}
?>
</div>