How to display author avatar/author photo below title inline with Post Info

To display author avatar/author photo below title (inline with Post Info), insert below code in your function.php file.

/* Display Post Author Avatars Global */
function wpsites_post_author_avatars() {
  echo get_avatar(get_the_author_meta('email'), 40);
}

add_action('genesis_entry_header', 'wpsites_post_author_avatars');

Customize the layout using below CSS class.

.entry-header .avatar		{
	margin-right:15px;
}
Copyright © 2023 Siam Naulak.
magnifiercrossmenu