portage/tag.php
2021-08-01 13:32:46 -04:00

45 lines
717 B
PHP
Executable File

<?php
/**
* The tag template file.
*
* Displays a tag archive
*
* @package Atticus Finch
*/
get_header();
?>
<div id="content">
<div id="archive-title">
<h2>
<?php
printf( __( 'Posts tagged with: <span>%s</span>', 'atticus-finch' ), single_cat_title( '', false ) );
?>
</h2>
<?php
$description = tag_description();
?>
</div>
<!-- Start the loop -->
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'formats/excerpt', get_post_format() ); ?>
<!-- End the loop -->
<?php endwhile; ?>
<?php endif; ?>
<?php atticus_finch_display_nav(); ?>
</div> <!-- end Content -->
<?php get_sidebar(); ?>
<div class="clear"></div>
<?php get_footer(); ?>