-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtag.php
39 lines (33 loc) · 880 Bytes
/
tag.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* The template used to display Tag Archive pages
*
* @since 0.0.1
*/
if ( !empty( $_REQUEST['debug'] ) ) {
if ( 'show' != $_REQUEST['debug'] ) {
echo '<!-- ';
}
esc_html_e( 'Theme File: ' . __FILE__ );
if ( 'show' != $_REQUEST['debug'] ) {
echo ' -->';
}
}
?>
<?php get_header(); ?>
<div id="container">
<div id="content">
<h1 class="page-title"><?php
printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' );
?></h1>
<?php
/* Run the loop for the tag archive to output the posts
* If you want to overload this in a child theme then include a file
* called loop-tag.php and that will be used instead.
*/
get_template_part( 'loop', 'tag' );
?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>