CoreFiles by mySites.guru
entry-author-bio.php31 lines, 870 bytes, from wordpress-5.3-RC2.zip
Raw History Compare with 5.3-RC1
md5
0c0cef44ef8248ec93ab94137233e163
sha1
fd507b8a43934a2fe3052bd8333c7efaf572de80
sha256
cfc386a704206cb39044df22b98ff8a6cc5d6f54063b2dbb5e2e6ba783749e6b
<?php
/**
 * The template for displaying Author info
 *
 * @package WordPress
 * @subpackage Twenty_Twenty
 * @since 1.0.0
 */

if ( (bool) get_the_author_meta( 'description' ) ) : ?>
<div class="author-bio">
		<?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?>
		<div class="author-info">
			<h2 class="author-title heading-size-4">
					<?php
					printf(
						/* translators: %s: Author name */
						__( 'By %s', 'twentytwenty' ),
						esc_html( get_the_author() )
					);
					?>
			</h2>
			<p class="author-description">
				<?php the_author_meta( 'description' ); ?>
				<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
					<?php _e( 'View Archive &rarr;', 'twentytwenty' ); ?>
				</a>
			</p><!-- .author-description -->
		</div>
</div><!-- .author-bio -->
<?php endif; ?>

No other release has this exact content. See every version of this file.