portage/tag.php

45 lines
717 B
PHP
Raw Normal View History

2021-08-01 17:32:46 +00:00
<?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(); ?>