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('« %link') ?></div>
mp-wp_genesis 16 <div class="alignright"><?php next_post_link('%link »') ?></div>
mp-wp_genesis 17 </div>
mp-wp_genesis 18
mp-wp_remove-text... 19 <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
mp-wp_add-footnot... 20 <h2><?php the_title(); ?></h2>
mp-wp_add-footnot... 21
mp-wp_add-footnot... 22 <div class="entry">
mp-wp_add-footnot... 23 <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
mp-wp_add-footnot... 24
mp-wp_add-footnot... 25 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
mp-wp_add-footnot... 26 <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
mp-wp_add-footnot... 27
mp-wp_add-footnot... 28 <p class="postmetadata alt">
mp-wp_add-footnot... 29 <small>
mp-wp_add-footnot... 30 This entry was posted
mp-wp_add-footnot... 31 <?php /* This is commented, because it requires a little adjusting sometimes.
mp-wp_add-footnot... 32 You'll need to download this plugin, and follow the instructions:
mp-wp_add-footnot... 33 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
mp-wp_add-footnot... 34 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
mp-wp_add-footnot... 35 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
mp-wp_add-footnot... 36 and is filed under <?php the_category(', ') ?>.
mp-wp_add-footnot... 37 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
mp-wp_add-footnot... 38
mp-wp_add-footnot... 39 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
mp-wp_add-footnot... 40 // Both Comments and Pings are open ?>
mp-wp_add-footnot... 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_add-footnot... 42
mp-wp_add-footnot... 43 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
mp-wp_add-footnot... 44 // Only Pings are Open ?>
mp-wp_add-footnot... 45 Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
mp-wp_add-footnot... 46
mp-wp_add-footnot... 47 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
mp-wp_add-footnot... 48 // Comments are open, Pings are not ?>
mp-wp_add-footnot... 49 You can skip to the end and leave a response. Pinging is currently not allowed.
mp-wp_add-footnot... 50
mp-wp_add-footnot... 51 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
mp-wp_add-footnot... 52 // Neither Comments, nor Pings are open ?>
mp-wp_add-footnot... 53 Both comments and pings are currently closed.
mp-wp_genesis 54
mp-wp_add-footnot... 55 <?php } edit_post_link('Edit this entry','','.'); ?>
mp-wp_genesis 56
mp-wp_add-footnot... 57 </small>
mp-wp_add-footnot... 58 </p>
mp-wp_genesis 59
mp-wp_add-footnot... 60 </div>
mp-wp_remove-text... 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(); ?>