4 * @subpackage Default_Theme
10 <div id="content" class="widecolumn">
12 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
14 <div class="post" id="post-<?php the_ID(); ?>">
15 <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <?php the_title(); ?></h2>
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>
18 <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
20 <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
22 <div class="navigation">
23 <div class="alignleft"><?php previous_image_link() ?></div>
24 <div class="alignright"><?php next_image_link() ?></div>
28 <p class="postmetadata alt">
30 This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
31 and is filed under <?php the_category(', ') ?>.
32 <?php the_taxonomies(); ?>
33 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
35 <?php if ( comments_open() && pings_open() ) {
36 // Both Comments and Pings are open ?>
37 You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
39 <?php } elseif ( !comments_open() && pings_open() ) {
40 // Only Pings are Open ?>
41 Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
43 <?php } elseif ( comments_open() && !pings_open() ) {
44 // Comments are open, Pings are not ?>
45 You can skip to the end and leave a response. Pinging is currently not allowed.
47 <?php } elseif ( !comments_open() && !pings_open() ) {
48 // Neither Comments, nor Pings are open ?>
49 Both comments and pings are currently closed.
51 <?php } edit_post_link('Edit this entry.','',''); ?>
60 <?php comments_template(); ?>
62 <?php endwhile; else: ?>
64 <p>Sorry, no attachments matched your criteria.</p>
70 <?php get_footer(); ?>