<?php if (have_posts()) { ?> <?php // start the loop while (have_posts()) { the_post(); /* Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part('content', 'blog'); } // end while bootstrapBasicPagination(); ?> <?php } else { ?> <?php get_template_part('no-results', 'index'); ?> <?php } // endif; ?> </main>
$term_description = term_description(); if (!empty($term_description)) { printf('<div class="taxonomy-description">%s</div>', $term_description); } //endif; ?> </header><!-- .page-header --> <?php /* Start the Loop */ while (have_posts()) { the_post(); /* Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part('content', 'resources'); } //endwhile; ?> <?php bootstrapBasicPagination(); ?> <?php } else { ?> <?php get_template_part('no-results', 'archive'); ?> <?php } //endif; ?> </div> </section> </div> <?php get_footer(); ?>