Changeset 13720 for trunk/wp-content/themes/twentyten/attachment.php
- Timestamp:
- 03/16/2010 08:17:22 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyten/attachment.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/attachment.php
r13498 r13720 6 6 <?php the_post(); ?> 7 7 8 <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent); ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), esc_html( get_the_title($post->post_parent), 1 ) ); ?>" rel="gallery">← <?php echo get_the_title($post->post_parent); ?></a></p>8 <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), esc_html( get_the_title( $post->post_parent ), 1 ) ); ?>" rel="gallery">← <?php echo get_the_title( $post->post_parent ); ?></a></p> 9 9 10 10 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> … … 14 14 <?php 15 15 printf(__( '<span class="meta-prep meta-prep-author"> By </span> <span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', 'twentyten'), 16 get_author_posts_url( get_the_author_meta( 'ID') ),16 get_author_posts_url( get_the_author_meta( 'ID' ) ), 17 17 sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), 18 18 get_the_author() … … 22 22 <?php 23 23 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span>', 'twentyten'), 24 esc_attr( get_the_time()),24 esc_attr( get_the_time() ), 25 25 get_the_date() 26 26 ); … … 44 44 <?php endif; ?> 45 45 </div> 46 <div class="entry-caption"><?php if ( ! empty($post->post_excerpt) ) the_excerpt(); ?></div>46 <div class="entry-caption"><?php if ( ! empty( $post->post_excerpt ) ) the_excerpt(); ?></div> 47 47 48 48 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> … … 61 61 printf( 62 62 $utility_text, 63 get_the_category_list( ', '),63 get_the_category_list( ', ' ), 64 64 $tag_list, 65 65 get_permalink(), 66 the_title_attribute( 'echo=0'),66 the_title_attribute( 'echo=0' ), 67 67 get_post_comments_feed_link() 68 68 ); … … 71 71 <?php if ( comments_open() && pings_open() ) : // Comments and trackbacks open ?> 72 72 <?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ); ?> 73 <?php elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open ?>73 <?php elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open ?> 74 74 <?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ); ?> 75 <?php elseif ( comments_open() && ! pings_open() ) : // Only comments open ?>75 <?php elseif ( comments_open() && ! pings_open() ) : // Only comments open ?> 76 76 <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyten' ); ?> 77 <?php elseif ( ! comments_open() && !pings_open() ) : // Comments and trackbacks closed ?>77 <?php elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed ?> 78 78 <?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ); ?> 79 79 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.