[resolved] Only getting generic Gravatars... (4 posts)

  1. billdennis5
    Posted 8 years ago #

    I just downloaded the most revent version of the Gravatars plug in and installed it on my site. I am getting only the default Gravatar displaying. I logged out of my WP account, and commented using my email address which IS linked to a Gravatar. Still, only the default Gravatar for everyone's comment.

    Did I do something wrong when I added the code my comments.php? Here are the changes I did:

    <li class="<?php if ($comment->comment_author_email == "your@email.com") echo 'author'; else if ($comment->comment_author_email == "another@email.com") echo 'author'; else echo $oddcomment; ?> item" id="comment-<?php comment_ID() ?>">
    <a href="http://www.gravatar.com/" title="Get your avatar">
        <img src="<?php gravatar("R", 60); ?>" class="gravatar" alt="Gravatar" align="right" hspace="10" vspace="10"/>
    		<div class="fix">
    		<div class="author_meta">
    			<p class="author_meta"><span class="user"><?php comment_author_link() ?></span> <span class="comment_edit"><?php edit_comment_link('Edit','(',')'); ?></span>
    		<div class="comment_text">
    			<?php if ($comment->comment_approved == '0') : ?>
    			<em>Your comment is awaiting moderation.</em>
    			<?php endif; ?>
    			<?php comment_text() ?>
    		<p class="post_meta"><a href="#comment-<?php comment_ID() ?>" title="Comment Permalink"><?php comment_date('M jS, Y') ?></a>

    My theme is Grid Focus and there no help on the discussion boards' there.

  2. billdennis5
    Posted 8 years ago #

    Seriously. Any ideas? I thought since Automattic bought out Gravatars.com, there might be some support, since I can't find it at Gravatars.com.

    Any help would be appreciated.

  3. billdennis5
    Posted 8 years ago #

    Working now. I guess I took some time. Thanks.

  4. racket
    Posted 8 years ago #

    Does the code that you publish works? I would like to know to use it, because I'm having the same problem and I have seen no help about this issue anywhere. I will appreciate your help.

Topic Closed

This topic has been closed to new replies.

About this Topic