Forums

Add Local Avatar
Getting Avatars to Show up Outside comments (1 post)

  1. nanobyte1111
    Member
    Posted 1 year ago #

    Okay, so i have been trying everything past couple days, in comments.php i have the "input box" for comments and to the left i want to display the users avatar when signed in. As of now the users avatar beside the comment box is the default Gravatar image for some reason. I am trying to replace that image with the users avatar they uploaded already - with this code <?php echo get_avatar($user->ID, $comment, $size = 32) ?>

    Doesn't seem to pull the uploaded user avatar???

    Is there something im missing or a piece of code i forgot to stick somewhere?

    I also used <?php global $post; ?> in front of my code.

    Thanks for any help.

    http://wordpress.org/extend/plugins/add-local-avatar/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic