WordPress.org

Ready to get started?Download WordPress

Forums

Only seeing default Gravatars displayed on individual posts (4 posts)

  1. shawnogordo
    Member
    Posted 6 years ago #

    I've got a WordPress 2.5.1. installation (not upgrading to 2.6 until the new version of podPress comes out) and I'd like to use Gravatars. I installed the Gravatar plugin from gravatar.com last night, and it did add some code to my comments template. Problem is, only default Gravatars are being displayed. I know that I and some of my regular commentators have working Gravatars, because I can see them in the Comments section of my WordPress control panel. You can see an entry page from my blog here. Commentators named "Shawno" (that's me) and "Andy Melton" have known-to-be working Gravatars, but as you can see, only defaults are being displayed. Any assistance would be appreciated.

  2. transmothra
    Member
    Posted 5 years ago #

    Same here.

  3. transmothra
    Member
    Posted 5 years ago #

    Nevermind, see here.

    In the comment loop, you wanna do this:
    echo get_avatar( get_comment_author_email(), '96', $default = '' );

    Hope that helps!

  4. moronicbajebus
    Member
    Posted 5 years ago #

    If some but not all avatar show up, change the settings for avatar ratings (Settings > Discussion). If it is at G trying bumping it up to PG.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags