Support » Fixing WordPress » Gravatar in 2.5

  • polle001

    (@polle001)


    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • polle001

    (@polle001)

    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?

    Never mind …

    I can’t get it to work actually. It simply shows the Gravatar’s icon.
    Help please.

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