WordPress 2.7 actually supports Gravatars. You don’t need that code anymore.
<?php
echo get_avatar( $id_or_email, $size = '96', $default = '<path_to_url>' );
?>
And see here http://codex.wordpress.org/Using_Gravatars
Thread Starter
vocano
(@vocano)
hey, thanx for your quick answer!!
i removed the
<img alt='' src='http://gravatarurl_or_default'
class='avatar avatar-$size' height='$size' width='$size' />
from comments.php but the icon is still there
i think `<?php
echo get_avatar( $id_or_email, $size = ’96’, $default = ‘<path_to_url>’ );
?>` goes in the functions.php, am i right with that?
Thread Starter
vocano
(@vocano)
ok i got it, thanx 😉 it goes in the comments.php not in the functions 😀
THANX anyway
(@vocano)
16 years, 11 months ago
Hi dear community,
im about to release my first wordpress theme to public and im in a little groubble now:
when you visit my dev-wp (helminger[dot]cc/tobi/index.php) you will see that a big gravatar icon is shown right at the top before the header starts.
to build in the gravatar i used
somewhere in the comments.php
can someone of you please tell me how i can remove this thing rather replace it.
i thank you so much for your help
greez from austria (no…. not that one with the kangaroos)
vocano