[Resolved] Author Image between Author name & Date

Home Forums Support [Resolved] Author Image between Author name & Date

Home Forums Support Author Image between Author name & Date

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1303233
    Abhisarika

    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

    #1303828
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Any chance you can post this in the WP Show Posts forum (https://wpshowposts.com, as it doesn’t relate to GeneratePress?

    Thanks!

    #1328403
    Abhisarika

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.