summaryrefslogtreecommitdiff
path: root/category.php
diff options
context:
space:
mode:
Diffstat (limited to 'category.php')
-rw-r--r--category.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/category.php b/category.php
new file mode 100644
index 0000000..9eae622
--- /dev/null
+++ b/category.php
@@ -0,0 +1,33 @@
+<!-- BEGIN ltsHome: category.php -->
+<?php
+/**
+ * The template for displaying Category 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( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
+ ?></h2>
+ <?php
+ $category_description = category_description();
+ if ( ! empty( $category_description ) )
+ echo '<div class="archive-meta">' . $category_description . '</div>';
+
+ /* Run the loop for the category page to output the posts.
+ * If you want to overload this in a child theme then include a file
+ * called loop-category.php and that will be used instead.
+ */
+ get_template_part( 'loop', 'category' );
+ ?>
+
+ </div>
+
+<?php get_footer(); ?>
+<!-- END ltsHome: category.php -->