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="post" id="post-<?php the_ID(); ?>">
mp-wp_genesis 15 <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <?php the_title(); ?></h2>
mp-wp_genesis 16 <div class="entry">
mp-wp_genesis 17 <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p>
mp-wp_genesis 18 <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
mp-wp_genesis 19
mp-wp_genesis 20 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
mp-wp_genesis 21
mp-wp_genesis 22 <div class="navigation">
mp-wp_genesis 23 <div class="alignleft"><?php previous_image_link() ?></div>
mp-wp_genesis 24 <div class="alignright"><?php next_image_link() ?></div>
mp-wp_genesis 25 </div>
mp-wp_genesis 26 <br class="clear" />
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 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
mp-wp_genesis 31 and is filed under <?php the_category(', ') ?>.
mp-wp_genesis 32 <?php the_taxonomies(); ?>
mp-wp_genesis 33 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
mp-wp_genesis 34
mp-wp_genesis 35 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
mp-wp_genesis 36 // Both Comments and Pings are open ?>
mp-wp_genesis 37 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 38
mp-wp_genesis 39 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
mp-wp_genesis 40 // Only Pings are Open ?>
mp-wp_genesis 41 Responses are currently closed, but you can <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 // Comments are open, Pings are not ?>
mp-wp_genesis 45 You can skip to the end and leave a response. Pinging is currently not allowed.
mp-wp_genesis 46
mp-wp_genesis 47 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
mp-wp_genesis 48 // Neither Comments, nor Pings are open ?>
mp-wp_genesis 49 Both comments and pings are currently closed.
mp-wp_genesis 50
mp-wp_genesis 51 <?php } edit_post_link('Edit this entry.','',''); ?>
mp-wp_genesis 52
mp-wp_genesis 53 </small>
mp-wp_genesis 54 </p>
mp-wp_genesis 55
mp-wp_genesis 56 </div>
mp-wp_genesis 57
mp-wp_genesis 58 </div>
mp-wp_genesis 59
mp-wp_genesis 60 <?php comments_template(); ?>
mp-wp_genesis 61
mp-wp_genesis 62 <?php endwhile; else: ?>
mp-wp_genesis 63
mp-wp_genesis 64 <p>Sorry, no attachments matched your criteria.</p>
mp-wp_genesis 65
mp-wp_genesis 66 <?php endif; ?>
mp-wp_genesis 67
mp-wp_genesis 68 </div>
mp-wp_genesis 69
mp-wp_genesis 70 <?php get_footer(); ?>