'; }
// Masonry container open.
echo '
'; }
presscore_complex_pagination( $page_query );
// Restore config.
$config->reset( $config_backup );
}
do_action( 'presscore_after_loop' );
endwhile; endif;
?>
';
// Custom loop.
$page_query = presscore_get_filtered_posts( array( 'post_type' => 'dt_testimonials', 'taxonomy' => 'dt_testimonials_category' ) );
if ( $page_query->have_posts() ): while( $page_query->have_posts() ): $page_query->the_post();
get_template_part( 'content', 'testimonials' );
endwhile; wp_reset_postdata(); endif;
// Masonry container close.
echo '
';
// Fullwidth wrap close.
if ( $config->get( 'full_width' ) ) { echo '