</div> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('framework/templates/page/page'); ?> <?php // If comments are open or we have at least one comment, load up the comment template if (cshero_show_comments() == '1') { comments_template(); } ?> <?php } // end of the loop. ?> </main><!-- #main --> </div> <?php if ($layout->right1_col) {
<div class="tagcloud"> <?php // Tags from post foreach ($tags as $tag) { echo '<a class="tag-link-' . $tag->term_id . '" href="' . get_tag_link($tag->term_id) . '">' . $tag->name . '</a>'; } ?> </div> </div> <?php } ?> <?php // If comments are open or we have at least one comment, load up the comment template if (cshero_show_comments('post') == '1') { comments_template(); } ?> <?php } // end of the loop. ?> </main><!-- #main --> </div> <?php if ($layout->right1_col) { ?> <div class="right-wrap <?php