portage/tag.php

45 lines
705 B
PHP
Raw Normal View History

2021-08-01 17:32:46 +00:00
<?php
/**
* The tag template file.
*
* Displays a tag archive
*
2021-08-01 17:59:14 +00:00
* @package Portage
2021-08-01 17:32:46 +00:00
*/
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; ?>
2021-08-01 17:59:14 +00:00
<?php portage_display_nav(); ?>
2021-08-01 17:32:46 +00:00
</div> <!-- end Content -->
<?php get_sidebar(); ?>
<div class="clear"></div>
<?php get_footer(); ?>