🎉 Happy 4th of July! Get 15% off GP Premium with the discount code: 4THOFJULY2020

[Resolved] Single post author box profile image not shown

Home Forums Support Single post author box profile image not shown

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1128064
    Akash

    I have created one hook for author box in single post. but only image not display
    code is i have added is below

    <div class="author-box">
      <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ));?></div>
        <h2 class="author-title"><?php printf( get_the_author_meta( 'display_name') );?></h2>
        <div class="author-summary">
        <p class="author-description"><?php echo wp_kses( get_the_author_meta( 'description' ), null ); ?></p>
      </div>
    </div>

    error image is https://prnt.sc/qlxrmk

    #1128082
    Leo
    Staff
    Customer Support

    Hi there,

    Where did you get the code from?

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