[1] | 1 | <?php get_header(); ?>
|
---|
| 2 |
|
---|
| 3 | <div id="xpress_content" class="widecolumn">
|
---|
| 4 |
|
---|
| 5 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
---|
| 6 |
|
---|
| 7 | <div class="post" id="post-<?php the_ID(); ?>">
|
---|
| 8 | <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>
|
---|
| 9 | <div class="entry">
|
---|
| 10 | <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p>
|
---|
| 11 | <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
|
---|
| 12 |
|
---|
[64] | 13 | <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?>
|
---|
[1] | 14 |
|
---|
[64] | 15 | <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
---|
[1] | 16 |
|
---|
| 17 | <div class="navigation">
|
---|
| 18 | <div class="alignleft"><?php previous_image_link() ?></div>
|
---|
| 19 | <div class="alignright"><?php next_image_link() ?></div>
|
---|
| 20 | </div>
|
---|
| 21 | <br class="clear" />
|
---|
| 22 |
|
---|
| 23 | <p class="postmetadata alt">
|
---|
| 24 | <small>
|
---|
[64] | 25 | <?php printf(__('This entry was posted on %1$s at %2$s and is filed under %3$s.', 'xpress'), get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(', ')); ?>
|
---|
[1] | 26 | <?php the_taxonomies(); ?>
|
---|
[64] | 27 | <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?>
|
---|
[1] | 28 |
|
---|
| 29 | <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
---|
| 30 | // Both Comments and Pings are open ?>
|
---|
[64] | 31 | <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
|
---|
[1] | 32 |
|
---|
| 33 | <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
---|
| 34 | // Only Pings are Open ?>
|
---|
[64] | 35 | <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
|
---|
[1] | 36 |
|
---|
| 37 | <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
---|
| 38 | // Comments are open, Pings are not ?>
|
---|
[64] | 39 | <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?>
|
---|
[1] | 40 |
|
---|
| 41 | <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
---|
| 42 | // Neither Comments, nor Pings are open ?>
|
---|
[64] | 43 | <?php _e('Both comments and pings are currently closed.', 'xpress'); ?>
|
---|
[1] | 44 |
|
---|
[64] | 45 | <?php } edit_post_link(__('Edit this entry.', 'xpress'),'',''); ?>
|
---|
[1] | 46 |
|
---|
| 47 | </small>
|
---|
| 48 | </p>
|
---|
| 49 |
|
---|
| 50 | </div>
|
---|
| 51 |
|
---|
| 52 | </div>
|
---|
| 53 |
|
---|
| 54 | <?php comments_template(); ?>
|
---|
| 55 |
|
---|
| 56 | <?php endwhile; else: ?>
|
---|
| 57 |
|
---|
[64] | 58 | <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
|
---|
[1] | 59 |
|
---|
| 60 | <?php endif; ?>
|
---|
| 61 |
|
---|
| 62 | </div>
|
---|
| 63 |
|
---|
| 64 | <?php get_footer(); ?>
|
---|