2020-09-10 21:18:13 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying archive pages
|
|
|
|
*
|
|
|
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Nineteen
|
|
|
|
* @since Twenty Nineteen 1.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header();
|
|
|
|
?>
|
|
|
|
|
2021-03-27 00:36:58 +00:00
|
|
|
<section id="primary" class="content-area">
|
|
|
|
<main id="main" class="site-main blog-main archive">
|
2020-09-10 21:18:13 +00:00
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
|
|
|
<header class="page-header">
|
|
|
|
<?php
|
|
|
|
the_archive_title( '<h1 class="page-title">', '</h1>' );
|
|
|
|
?>
|
|
|
|
</header><!-- .page-header -->
|
|
|
|
|
|
|
|
<?php
|
|
|
|
// Start the Loop.
|
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
|
|
|
|
2021-03-27 00:36:58 +00:00
|
|
|
get_template_part( 'template-parts/content/content', 'loop' );
|
2020-09-10 21:18:13 +00:00
|
|
|
|
|
|
|
// End the loop.
|
|
|
|
endwhile;
|
|
|
|
|
|
|
|
// Previous/next page navigation.
|
|
|
|
twentynineteen_the_posts_navigation();
|
|
|
|
|
|
|
|
// If no content, include the "No posts found" template.
|
|
|
|
else :
|
|
|
|
get_template_part( 'template-parts/content/content', 'none' );
|
|
|
|
|
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
</main><!-- #main -->
|
2021-03-27 00:36:58 +00:00
|
|
|
</section><!-- #primary -->
|
2020-09-10 21:18:13 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
get_footer();
|