- Timestamp:
- 10/22/2019 06:25:45 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/template-parts/entry-author-bio.php
r46446 r46571 10 10 if ( (bool) get_the_author_meta( 'description' ) ) : ?> 11 11 <div class="author-bio"> 12 <h2 class="author-title heading-size-4"> 13 <div class="author-avatar vcard"> 14 <?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?> 15 </div> 16 <span class="author-name"> 17 <?php 18 printf( 19 /* translators: %s: Author name */ 20 __( 'By %s', 'twentytwenty' ), 21 esc_html( get_the_author() ) 22 ); 23 ?> 24 </span> 25 </h2> 26 <p class="author-description"> 27 <?php the_author_meta( 'description' ); ?> 28 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 29 <?php _e( 'View Archive →', 'twentytwenty' ); ?> 30 </a> 31 </p><!-- .author-description --> 12 <?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?> 13 <div class="author-info"> 14 <h2 class="author-title heading-size-4"> 15 <?php 16 printf( 17 /* translators: %s: Author name */ 18 __( 'By %s', 'twentytwenty' ), 19 esc_html( get_the_author() ) 20 ); 21 ?> 22 </h2> 23 <p class="author-description"> 24 <?php the_author_meta( 'description' ); ?> 25 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> 26 <?php _e( 'View Archive →', 'twentytwenty' ); ?> 27 </a> 28 </p><!-- .author-description --> 29 </div> 32 30 </div><!-- .author-bio --> 33 31 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.