public
Description: a wordpress theme for me
Homepage: http://blowery.org/
Clone URL: git://github.com/blowery/rococo.git
rococo / single.php
100644 37 lines (29 sloc) 1.357 kb
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
<?php get_header(); ?>
 
<!-- html structure based on http://microformats.org/wiki/hatom -->
<div id="content" class="hfeed">
<?php if(have_posts()) : ?>
 
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post hentry">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="meta">
In <?php the_category(",") ?> on <abbr class="published"
title="<?php the_time('c'); ?>"><?php the_time('M j Y'); ?></abbr>.
<?php comments_popup_link("Add a comment.", "1 comment. Add your own.", "% comments. Add your own.", "comments", "Sorry, comments are closed."); ?>
<?php edit_post_link("Edit", '<span class="edit">', "</span>"); ?>
</div>
<div class="entry-content">
<?php the_content(); ?>
</div>
</div>
 
<div class="navigation">
<div class="backward"><?php previous_post_link('&laquo; %link') ?></div>
<div class="forward"><?php next_post_link('%link &raquo;') ?></div>
</div>
<div class="clear-both"></div>
<?php comments_template(); ?>
 
<?php endwhile; else: ?>
<p class="no-posts">Hrm, nothing matched that.</p>
<?php endif; ?>
 
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>