Changeset 25743
- Timestamp:
- 10/09/2013 07:06:06 PM (12 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/author.php
r25213 r25743 28 28 29 29 printf( __( 'All posts by %s', 'twentyfourteen' ), sprintf( 30 '<span class="vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="me">%3$s</a></span>',30 '<span class="vcard"><a class="url fn n" href="%1$s" rel="me">%2$s</a></span>', 31 31 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 32 esc_attr( get_the_author() ),33 32 get_the_author() 34 33 ) ); -
trunk/src/wp-content/themes/twentyfourteen/content-aside.php
r25735 r25743 20 20 <div class="entry-meta"> 21 21 <span class="post-format"> 22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'aside' ) ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a>22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a> 23 23 </span> 24 24 -
trunk/src/wp-content/themes/twentyfourteen/content-featured-post.php
r25021 r25743 7 7 8 8 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 9 <a class="attachment-featured-featured" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>"rel="<?php the_ID(); ?>">9 <a class="attachment-featured-featured" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 10 10 <?php 11 11 if ( has_post_thumbnail() ) : -
trunk/src/wp-content/themes/twentyfourteen/content-gallery.php
r25088 r25743 30 30 </div> 31 31 <?php elseif ( $image ) : ?> 32 <a class="attachment-featured-thumbnail" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>"rel="<?php the_ID(); ?>">32 <a class="attachment-featured-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 33 33 <?php echo wp_get_attachment_image( $image, 'featured-thumbnail-large' ); ?> 34 34 </a> … … 52 52 <div class="entry-meta"> 53 53 <span class="post-format"> 54 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo get_post_format_string( 'gallery' ); ?></a>54 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>"><?php echo get_post_format_string( 'gallery' ); ?></a> 55 55 </span> 56 56 -
trunk/src/wp-content/themes/twentyfourteen/content-image.php
r25735 r25743 28 28 <div class="entry-meta"> 29 29 <span class="post-format"> 30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo get_post_format_string( 'image' ); ?></a>30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>"><?php echo get_post_format_string( 'image' ); ?></a> 31 31 </span> 32 32 -
trunk/src/wp-content/themes/twentyfourteen/content-link.php
r25735 r25743 20 20 <div class="entry-meta"> 21 21 <span class="post-format"> 22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'link' ) ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a>22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a> 23 23 </span> 24 24 -
trunk/src/wp-content/themes/twentyfourteen/content-quote.php
r25735 r25743 20 20 <div class="entry-meta"> 21 21 <span class="post-format"> 22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'quote' ) ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a>22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a> 23 23 </span> 24 24 -
trunk/src/wp-content/themes/twentyfourteen/content-video.php
r25735 r25743 28 28 <div class="entry-meta"> 29 29 <span class="post-format"> 30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'video' ) ) ); ?>"><?php echo get_post_format_string( 'video' ); ?></a>30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>"><?php echo get_post_format_string( 'video' ); ?></a> 31 31 </span> 32 32 -
trunk/src/wp-content/themes/twentyfourteen/footer.php
r25065 r25743 19 19 <div class="site-info"> 20 20 <?php do_action( 'twentyfourteen_credits' ); ?> 21 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfourteen' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyfourteen' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>21 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfourteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a> 22 22 </div><!-- .site-info --> 23 23 </footer><!-- #colophon --> -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r25736 r25743 333 333 } 334 334 335 printf( '<a href="%1$s" title="%2$s" rel="attachment">%3$s</a>',335 printf( '<a href="%1$s" rel="attachment">%2$s</a>', 336 336 esc_url( $next_attachment_url ), 337 the_title_attribute( array( 'echo' => false ) ),338 337 wp_get_attachment_image( $post->ID, $attachment_size ) 339 338 ); -
trunk/src/wp-content/themes/twentyfourteen/header.php
r25742 r25743 29 29 <?php if ( get_header_image() ) : ?> 30 30 <div id="site-header"> 31 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"rel="home">31 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> 32 32 <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /> 33 33 </a> … … 37 37 <header id="masthead" class="site-header" role="banner"> 38 38 <div class="header-main"> 39 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"rel="home"><?php bloginfo( 'name' ); ?></a></h1>39 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 40 40 41 41 <div class="header-extra"> -
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' ); -
trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php
r25735 r25743 95 95 echo '<span class="featured-post">' . __( 'Sticky', 'twentyfourteen' ) . '</span>'; 96 96 97 printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyfourteen' ),97 printf( __( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>', 'twentyfourteen' ), 98 98 esc_url( get_permalink() ), 99 esc_attr( get_the_time() ),100 99 esc_attr( get_the_date( 'c' ) ), 101 100 esc_html( get_the_date() ), 102 101 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 103 esc_attr( sprintf( __( 'View all posts by %s', 'twentyfourteen' ), get_the_author() ) ),104 102 get_the_author() 105 103 ); -
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r25506 r25743 157 157 endif; 158 158 159 printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyfourteen' ),159 printf( __( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5s</a></span></span>', 'twentyfourteen' ), 160 160 esc_url( get_permalink() ), 161 esc_attr( get_the_time() ),162 161 esc_attr( get_the_date( 'c' ) ), 163 162 esc_html( get_the_date() ), 164 163 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 165 esc_attr( sprintf( __( 'View all posts by %s', 'twentyfourteen' ), get_the_author() ) ),166 164 get_the_author() 167 165 );
Note: See TracChangeset
for help on using the changeset viewer.