diff --git a/newspack-sacha/template-parts/post/author-bio.php b/newspack-sacha/template-parts/post/author-bio.php index 52b71bc89..e1f2f3fc1 100644 --- a/newspack-sacha/template-parts/post/author-bio.php +++ b/newspack-sacha/template-parts/post/author-bio.php @@ -21,23 +21,33 @@ foreach ( $authors as $author ) { if ( '' !== $author->description ) { - $author_avatar = coauthors_get_avatar( $author, 80 ); + // avatar_img_tag is a property added by Newspack Network plugin to distributed posts. + $author_avatar = $author->avatar_img_tag ?? coauthors_get_avatar( $author, 80 ); + $author_url = get_author_posts_url( $author->ID, $author->user_nicename ); ?>