"> <?php get_template_part('content', 'course-grid'); ?> </div> <?php if ($counter == $columns) { $counter = 0; echo '<div class="clear"></div>'; } } ?> </div> <?php } ?> <?php ThemexInterface::renderPagination(); ?> </div> <?php if ($layout == 'right') { ?> <aside class="sidebar fourcol column last"> <?php get_sidebar(); ?> </aside> <?php } get_footer();