- Timestamp:
- 11/02/2018 11:52:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/inc/template-tags.php
r43842 r43860 74 74 function twentynineteen_entry_footer() { 75 75 76 // Posted by 77 twentynineteen_posted_by(); 78 79 // Posted on 80 twentynineteen_posted_on(); 81 82 // Hide category and tag text for pages. 76 // Hide author, post date, category and tag text for pages. 83 77 if ( 'post' === get_post_type() ) { 78 79 // Posted by 80 twentynineteen_posted_by(); 81 82 // Posted on 83 twentynineteen_posted_on(); 84 84 85 /* translators: used between list items, there is a space after the comma. */ 85 86 $categories_list = get_the_category_list( esc_html__( ', ', 'twentynineteen' ) ); … … 99 100 /* translators: 1: SVG icon. 2: posted in label, only visible to screen readers. 3: list of tags. */ 100 101 printf( 101 '<span class=" cat-links">%1$s<span class="screen-reader-text">%2$s </span>%3$s</span>',102 '<span class="tags-links">%1$s<span class="screen-reader-text">%2$s </span>%3$s</span>', 102 103 twentynineteen_get_icon_svg( 'tag', 16 ), 103 104 esc_html__( 'Tags:', 'twentynineteen' ), … … 155 156 ?> 156 157 157 <figure class="post-thumbnail"> 158 <a class="post-thumbnail-inner" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1"> 159 <?php 160 the_post_thumbnail( 161 'post-thumbnail', 162 array( 163 'alt' => the_title_attribute( 164 array( 'echo' => false ) 165 ), 166 ) 167 ); 168 ?> 169 </a> 170 </figure><!-- .post-thumbnail --> 158 <figure class="post-thumbnail"> 159 <a class="post-thumbnail-inner" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1"> 160 <?php 161 the_post_thumbnail( 'post-thumbnail' ); 162 ?> 163 </a> 164 </figure> 171 165 172 166 <?php
Note: See TracChangeset
for help on using the changeset viewer.