function get_template_part($slug, $name = null) { if ($name) { render_include($slug . '-' . $name); } else { render_include($slug); } }
</div> </div> </div> <div class="container col-8-sm-pt col-7"> <?php rewind_posts(); if (have_posts()) { while (have_posts()) { the_post(); ?> <?php render_include('content'); ?> <?php } } else { ?> <p>Sorry, no posts matched your criteria.</p> <?php } ?> </div> <!-- Handle footer -->
function get_footer() { render_include('footer'); }