4 * @subpackage Default_Theme
10 <div id="content" class="widecolumn" role="main">
12 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
14 <div class="navigation">
15 <div class="alignleft"><?php previous_post_link('« %link') ?></div>
16 <div class="alignright"><?php next_post_link('%link »') ?></div>
19 <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
20 <h2><?php the_title(); ?></h2>
23 <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
25 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
26 <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
28 <p class="postmetadata alt">
31 <?php /* This is commented, because it requires a little adjusting sometimes.
32 You'll need to download this plugin, and follow the instructions:
33 http://binarybonsai.com/wordpress/time-since/ */
34 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
35 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
36 and is filed under <?php the_category(', ') ?>.
37 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
39 <?php if ( comments_open() && pings_open() ) {
40 // Both Comments and Pings are open ?>
41 You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
43 <?php } elseif ( !comments_open() && pings_open() ) {
44 // Only Pings are Open ?>
45 Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
47 <?php } elseif ( comments_open() && !pings_open() ) {
48 // Comments are open, Pings are not ?>
49 You can skip to the end and leave a response. Pinging is currently not allowed.
51 <?php } elseif ( !comments_open() && !pings_open() ) {
52 // Neither Comments, nor Pings are open ?>
53 Both comments and pings are currently closed.
55 <?php } edit_post_link('Edit this entry','','.'); ?>
63 <?php comments_template(); ?>
65 <?php endwhile; else: ?>
67 <p>Sorry, no posts matched your criteria.</p>
73 <?php get_footer(); ?>