<?php get_template_part('templates/blog-masonry/content', get_post_format()); ?> </div> <?php } ?> </div> <?php wp_enqueue_script('masonry-pkgd'); wp_enqueue_script('imagesloaded-pkgd'); wp_reset_postdata(); if (ts_get_post_opt('blog-enable-pagination') == 1) { rhythm_paging_nav($max_num_pages); } ?> <?php } else { //No posts were found ?> <?php get_template_part('templates/content/content', 'none'); ?> <?php } ?>
<?php echo $container_start; while (have_posts()) { the_post(); ?> <?php echo $columns_start; get_template_part('templates/' . $folder . '/content', get_post_format()); echo $columns_end; ?> <?php } echo $container_end; ?> <?php rhythm_paging_nav(); ?> <?php } else { ?> <?php get_template_part('templates/content/content', 'none'); ?> <?php } ?> <?php get_template_part('templates/global/blog-after-content'); ?> </div>