wp-73k/archive.php
2019-05-23 10:30:31 -06:00

25 lines
No EOL
495 B
PHP

<?php
/**
* The default archive page template.
*
* @author Freeshifter LLC
* @since 1.0.0
*/
namespace WP_Tailwind;
get_header(); ?>
<div class="container mx-auto relative z-10 mb-16 lg:mb-32 flex items-start">
<h1><?= get_the_archive_title(); ?></h1>
<div class="lg:w-3/5 pr-10">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo get_template_part( 'content-templates/content', 'article' );
}
} ?>
</div>
</div>
<?php
get_footer();