- Timestamp:
- 02/07/2021 12:42:06 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/template-parts/post/author-bio.php
r49826 r50234 13 13 <?php echo get_avatar( get_the_author_meta( 'ID' ), '85' ); ?> 14 14 <div class="author-bio-content"> 15 <h2 class="author-title"><?php printf( /* translators: 1: Author name. */ esc_html__( 'By %s', 'twentytwentyone' ), get_the_author() ); ?></h2> 15 <h2 class="author-title"> 16 <?php 17 printf( 18 /* translators: %s: Author name. */ 19 esc_html__( 'By %s', 'twentytwentyone' ), 20 get_the_author() 21 ); 22 ?> 23 </h2> 16 24 <p class="author-description"> <?php the_author_meta( 'description' ); ?></p><!-- .author-description --> 17 25 <?php 18 26 printf( 19 /* translators: 1: Link to authors posts. 2: Author name. */ 20 '<a class="author-link" href="%1$s" rel="author">' . esc_html__( 'View all of %2$s\'s posts.', 'twentytwentyone' ) . '</a>', 27 '<a class="author-link" href="%1$s" rel="author">%2$s</a>', 21 28 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 22 get_the_author() 29 sprintf( 30 /* translators: %s: Author name. */ 31 esc_html__( 'View all of %s\'s posts.', 'twentytwentyone' ), 32 get_the_author() 33 ) 23 34 ); 24 35 ?>
Note: See TracChangeset
for help on using the changeset viewer.