I would like to pull avatar of user in youtube to my blog as well
I checked the forum of the plugin page and come up with, but I am not sure how to put this at work.
<blockquote>If anyone’s interested, I edited my comments.php template so that the YouTube comments display a YouTube image for the avatar. Here’s the code…
Note: I had to remove at the beginning and end as well as before before img and the closing tag of img so that you could see the code in this response.</blockquote>
if ($comment->comment_author_email == “[email protected]”) echo <img style=”height:40px; width:40px” src=”http://s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png” />;
echo get_avatar( $comment, 40 );
I am sure it is very easy for you pro guys.