summaryrefslogtreecommitdiff
path: root/tag.php
diff options
context:
space:
mode:
Diffstat (limited to 'tag.php')
-rw-r--r--tag.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/tag.php b/tag.php
new file mode 100644
index 0000000..fd40978
--- /dev/null
+++ b/tag.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * The template for displaying Tag Archive pages.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Ten
+ * @since Twenty Ten 1.0
+ */
+
+get_header(); ?>
+
+ <div class="main"><a class="nocss" id="content"></a>
+
+ <h2 class="page-title"><?php
+ printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' );
+ ?></h2>
+
+<?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>
+
+<?php get_footer(); ?>