Changeset 25743 for trunk/src/wp-content/themes/twentyfourteen/image.php
- Timestamp:
- 10/09/2013 07:06:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/image.php
r25519 r25743 25 25 <span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span> 26 26 27 <span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>" title="Link to full-size image"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span>27 <span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span> 28 28 29 <span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="Return to <?php echo esc_attr( get_the_title( $post->post_parent ) ); ?>"rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span>29 <span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span> 30 30 <?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?> 31 31 </div><!-- .entry-meta --> … … 59 59 <?php 60 60 if ( comments_open() && pings_open() ) : // Comments and trackbacks open 61 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>.', 'twentyfourteen' ), get_trackback_url() );61 printf( __( '<a class="comment-link" href="#respond">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" rel="trackback">Trackback URL</a>.', 'twentyfourteen' ), get_trackback_url() ); 62 62 elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open 63 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>.', 'twentyfourteen' ), get_trackback_url() );63 printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" rel="trackback">Trackback URL</a>.', 'twentyfourteen' ), get_trackback_url() ); 64 64 elseif ( comments_open() && ! pings_open() ) : // Only comments open 65 _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyfourteen' );65 _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond">post a comment</a>.', 'twentyfourteen' ); 66 66 elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed 67 67 _e( 'Both comments and trackbacks are currently closed.', 'twentyfourteen' );
Note: See TracChangeset
for help on using the changeset viewer.