-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
48 lines (31 loc) · 1.64 KB
/
category.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
40
41
42
43
44
45
46
47
48
<?php get_header(); ?>
<div class="container">
<div class="nine columns">
<h1>Category:<?php single_cat_title(' '); ?> </h1>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="blog-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_excerpt('Read the rest of this entry »'); ?>
</div>
<p class="postmetadata">
<span class="blogcat">Posted in <?php the_category(', ') ?></span>
<span class="blogdate"><?php the_time('F jS, Y') ?> by <?php the_author() ?></span>
<span class="blogcomments"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></span>
</p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>