polle001
Member
Posted 1 year ago #
I have Gravatar plugin 1.1 using the following code in my theme.
<img src="<?php gravatar("R", 32, "path/images/gravatar.png"); ?>" alt="Gravatar de <?php comment_author(); ?>" title="Gravatar de <?php comment_author(); ?>" />
Everything works fine, but now that Gravatar is included in WordPress 2.5 how do I need to modify my code so I can delete the plugin ?
Thanks.
polle001
Member
Posted 1 year ago #
Well, I changed the code for:
<?php echo get_avatar( $comment, "R", 32 ); ?>
and worked fine.
Maybe is helpful for someone.
So, specifically, where do I place this function within the comment loop of the theme? Also I assume that I don't need the plugin since it's built into WP2.5?
I can't get it to work actually. It simply shows the Gravatar's icon.
Help please.