Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dde97c26b5
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (41 sloc) 1.269 kb
<?php
/** tag.php
*
* The template used to display Tag Archive pages
*
* @author Konstantin Obenland
* @package The Bootstrap
* @since 1.0.0 - 05.02.2012
*/
get_header(); ?>
<section id="primary" class="span8">
<?php tha_content_before(); ?>
<div id="content" role="main">
<?php tha_content_top();
if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title"><?php
printf( __( 'Tag Archives: %s', 'the-bootstrap' ), '<span>' . single_tag_title( '', false ) . '</span>' );
?></h1>
<?php if ( $tag_description = tag_description() ) {
echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
} ?>
</header><!-- .page-header -->
<?php
while ( have_posts() ) {
the_post();
get_template_part( '/partials/content', get_post_format() );
}
the_bootstrap_content_nav();
else :
get_template_part( '/partials/content', 'not-found' );
endif;
tha_content_bottom(); ?>
</div><!-- #content -->
<?php tha_content_after(); ?>
</section><!-- #primary -->
<?php
get_sidebar();
get_footer();
/* End of file index.php */
/* Location: ./wp-content/themes/the-bootstrap/tag.php */
Jump to Line
Something went wrong with that request. Please try again.