From cd493fbb992c85538d20684cff17de910ea50bb5 Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Mon, 26 Jul 2021 05:54:50 +0200 Subject: [PATCH] Add class .page-title to page-title for consistency across archive pages --- author.php | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/author.php b/author.php index d734a373..85cc5572 100644 --- a/author.php +++ b/author.php @@ -33,25 +33,19 @@ $container = get_theme_mod( 'understrap_container_type' ); } else { $curauth = get_userdata( intval( $author ) ); } - ?> -

- display_name - ); - ?> -

+ printf( + /* translators: %s: author name */ + '

' . esc_html__( 'About %s', 'understrap' ) . '

', + $curauth->display_name + ); - ID ) ) { echo get_avatar( $curauth->ID ); } - ?> - user_url ) || ! empty( $curauth->user_description ) ) : ?> + if ( ! empty( $curauth->user_url ) || ! empty( $curauth->user_description ) ) { + ?>
user_url ) ) : ?>
@@ -65,17 +59,17 @@ $container = get_theme_mod( 'understrap_container_type' );
user_description ); ?>
- - -

' . esc_html__( 'Posts by %s', 'understrap' ) . '

', $curauth->display_name ); - ?> - + } + ?>