- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php
r45604 r45932 18 18 // Get the author name; wrap it in a link. 19 19 $byline = sprintf( 20 /* translators: %s: post author*/20 /* translators: %s: Post author. */ 21 21 __( 'by %s', 'twentyseventeen' ), 22 22 '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . get_the_author() . '</a></span>' … … 49 49 // Wrap the time string in a link, and preface it with 'Posted on'. 50 50 return sprintf( 51 /* translators: %s: post date*/51 /* translators: %s: Post date. */ 52 52 __( '<span class="screen-reader-text">Posted on</span> %s', 'twentyseventeen' ), 53 53 '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>' … … 63 63 function twentyseventeen_entry_footer() { 64 64 65 /* translators: used between list items, there is a space after the comma*/65 /* translators: Used between list items, there is a space after the comma. */ 66 66 $separate_meta = __( ', ', 'twentyseventeen' ); 67 67 … … 114 114 edit_post_link( 115 115 sprintf( 116 /* translators: %s: Name of current post*/116 /* translators: %s: Post title. */ 117 117 __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), 118 118 get_the_title() … … 149 149 } elseif ( is_customize_preview() ) { 150 150 // The output placeholder anchor. 151 /* translators: %s: The section id*/151 /* translators: %s: The section ID. */ 152 152 echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Front Page Section %s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>'; 153 153 }
Note: See TracChangeset
for help on using the changeset viewer.