raw
mp-wp_genesis           1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * @package WordPress
mp-wp_genesis 4 * @subpackage Default_Theme
mp-wp_genesis 5 */
mp-wp_genesis 6
mp-wp_genesis 7 get_header();
mp-wp_genesis 8 ?>
mp-wp_genesis 9
mp-wp_genesis 10 <div id="content" class="widecolumn">
mp-wp_genesis 11
mp-wp_genesis 12 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
mp-wp_genesis 13
mp-wp_genesis 14 <div class="navigation">
mp-wp_genesis 15 <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
mp-wp_genesis 16 <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
mp-wp_genesis 17 </div>
mp-wp_genesis 18
mp-wp_genesis 19 <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
mp-wp_genesis 20 <h2><?php the_title(); ?></h2>
mp-wp_genesis 21
mp-wp_genesis 22 <div class="entry">
mp-wp_genesis 23 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
mp-wp_genesis 24
mp-wp_genesis 25 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
mp-wp_genesis 26 <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
mp-wp_genesis 27
mp-wp_genesis 28 <p class="postmetadata alt">
mp-wp_genesis 29 <small>
mp-wp_genesis 30 This entry was posted
mp-wp_genesis 31 <?php /* This is commented, because it requires a little adjusting sometimes.
mp-wp_genesis 32 You'll need to download this plugin, and follow the instructions:
mp-wp_genesis 33 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
mp-wp_genesis 34 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
mp-wp_genesis 35 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
mp-wp_genesis 36 and is filed under <?php the_category(', ') ?>.
mp-wp_genesis 37 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
mp-wp_genesis 38
mp-wp_genesis 39 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
mp-wp_genesis 40 // Both Comments and Pings are open ?>
mp-wp_genesis 41 You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
mp-wp_genesis 42
mp-wp_genesis 43 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
mp-wp_genesis 44 // Only Pings are Open ?>
mp-wp_genesis 45 Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
mp-wp_genesis 46
mp-wp_genesis 47 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
mp-wp_genesis 48 // Comments are open, Pings are not ?>
mp-wp_genesis 49 You can skip to the end and leave a response. Pinging is currently not allowed.
mp-wp_genesis 50
mp-wp_genesis 51 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
mp-wp_genesis 52 // Neither Comments, nor Pings are open ?>
mp-wp_genesis 53 Both comments and pings are currently closed.
mp-wp_genesis 54
mp-wp_genesis 55 <?php } edit_post_link('Edit this entry','','.'); ?>
mp-wp_genesis 56
mp-wp_genesis 57 </small>
mp-wp_genesis 58 </p>
mp-wp_genesis 59
mp-wp_genesis 60 </div>
mp-wp_genesis 61 </div>
mp-wp_genesis 62
mp-wp_genesis 63 <?php comments_template(); ?>
mp-wp_genesis 64
mp-wp_genesis 65 <?php endwhile; else: ?>
mp-wp_genesis 66
mp-wp_genesis 67 <p>Sorry, no posts matched your criteria.</p>
mp-wp_genesis 68
mp-wp_genesis 69 <?php endif; ?>
mp-wp_genesis 70
mp-wp_genesis 71 </div>
mp-wp_genesis 72
mp-wp_genesis 73 <?php get_footer(); ?>