wp-73k/archive.php

29 lines
544 B
PHP
Raw Normal View History

2019-05-23 12:30:31 -04:00
<?php
/**
* The default archive page template.
*
* @author Freeshifter LLC
* @since 1.0.0
*/
namespace WP_73k;
2019-05-23 12:30:31 -04:00
get_header(); ?>
<main class="container d-flex justify-content-center">
<div class="col-12 col-md-10 col-lg-9 col-xl-8 col-xxl-7 pb-2 mb-4 mt-3">
2021-07-04 18:16:33 -04:00
<h1><?= get_the_archive_title(); ?></h1>
<?php
2021-07-04 18:16:33 -04:00
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo get_template_part( 'content-templates/content', 'article' );
}
}
?>
2021-07-04 18:16:33 -04:00
</div>
</main>
<?php
2019-05-23 12:30:31 -04:00
get_footer();