summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/default/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/themes/default/image.php')
-rw-r--r--wp-content/themes/default/image.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-content/themes/default/image.php b/wp-content/themes/default/image.php
index d8e36fd..5e03980 100644
--- a/wp-content/themes/default/image.php
+++ b/wp-content/themes/default/image.php
@@ -7,12 +7,11 @@
<div class="post" id="post-<?php the_ID(); ?>">
<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>
<div class="entry">
- <p class="attachment"><?php echo wp_get_attachment_link(0, 'medium', false); ?></p>
+ <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p>
+ <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
-
<div class="navigation">
<div class="alignleft"><?php previous_image_link() ?></div>
<div class="alignright"><?php next_image_link() ?></div>
@@ -23,6 +22,7 @@
<small>
This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
and is filed under <?php the_category(', ') ?>.
+ <?php the_taxonomies(); ?>
You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {