summaryrefslogtreecommitdiff
path: root/category.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-27 12:23:12 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-27 12:23:12 -0500
commit8e2064bbd878ac93438a6616cbf4af21a0f41edd (patch)
tree113cd09cd2dd11d02455d575037dd1f32bb4aaea /category.php
The North Star 2010-2011 theme, a fork of Twenty TenHEADmaster
I'm not planning on maintaining this, I just figured I'd put it in git in case I ever want it. This has already been cleaned up a lot. I might one day do the work to make it a proper child theme (it was forked too many versions ago for it to be clean), but probably not.
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 -->