• My website, tplack.com just adopted gravatars. Since the adoption of these gravatars, when you go to the post I find an interesting bug where it is displaying the author’s gravatar for all comments (that are not using my gravatar email either).

    <?php
    			$author = get_the_author_email();
    			echo get_avatar( $author, 55 );
    			?>

    I think my code is getting the author of the post’s email, not the author of the comment. How can I fix this?

Viewing 1 replies (of 1 total)
  • gravatars are usually gotten throughout the emailadress that the commentauthor fills in.. I think it’s the only way gravatar works but I might be wrong here. How else would you expect Gravatar to get the avatar (from the username ?).

    and you might wanna align the text of the logo image all the way to the left, so it’s aligned right with your website ;). My 2 cents ??

    Oscar,
    Creative Modern Lifestyle Blog

Viewing 1 replies (of 1 total)
  • The topic ‘Gravatar Displaying Post Author’s Image’ is closed to new replies.