I am using wp show posts and i want to show Author image between the AUthor name and Date.
How can i achieve that.
I used below code from which i am able to get avatar image but not in between
// Fetch Author
add_action( ‘wpsp_before_title’, function( $output ) {
$avatar = get_avatar( get_the_author_meta() );
if ( ‘post’ == get_post_type() ) {
echo ‘<span class=”author-avatar”>’ . $avatar . ‘</span>’;
// echo $output;
}
} );
https://prnt.sc/soosz5