[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying Author info 4 * 5 * @package WordPress 6 * @subpackage Twenty_Nineteen 7 * @since Twenty Nineteen 1.0 8 */ 9 10 if ( (bool) get_the_author_meta( 'description' ) ) : ?> 11 <div class="author-bio"> 12 <h2 class="author-title"> 13 <span class="author-heading"> 14 <?php 15 printf( 16 /* translators: %s: Post author. */ 17 __( 'Published by %s', 'twentynineteen' ), 18 esc_html( get_the_author() ) 19 ); 20 ?> 21 </span> 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 more posts', 'twentynineteen' ); ?> 27 </a> 28 </p><!-- .author-description --> 29 </div><!-- .author-bio --> 30 <?php endif; ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |