Viewing 4 replies - 1 through 4 (of 4 total)
  • HI WiSch,

    Are you using the latest version of the plugin (1.2.3)? Also, could you share with me the site domain so I can visually see the problem?

    Thread Starter WiSch

    (@wisch)

    Hi.
    Yes, it is v1.2.3
    You can see my problem here.
    Thanks for your fast support!

    I used the following code
    Original: echo get_avatar( $comment, 44 );
    Now: echo get_wp_user_avatar( get_the_author_meta(‘ID’), 70 );
    Because with $comment always the default avatar comes for all comments.

    Thread Starter WiSch

    (@wisch)

    Hello again.
    I don’t know what happend, but I tried again the original code from twentytwelve: get_avatar( $comment, 44 )
    And now it works!

    Sorry for that but thanks again for your fast reply!

    Hi WiSch,

    That’s actually the suggestion I was going to make! If for some reason the comments avatar doesn’t have the $comment variable, it will show the avatar of the post author. But, I may put in a patch to detect the comment author automatically if that variable is missing.

    Thanks for using my plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Avatar in Comments’ is closed to new replies.