Forums

[resolved] getting the correct default gravatar to show... (2 posts)

  1. dominoeffect
    Member
    Posted 3 years ago #

    Hey all,

    I have this in comments.php:

    <?php echo get_avatar( $comment, $size = '30' ); ?>

    It works fine, only it doesn't show the correct default gravatar for folks who haven't registered at gravatar.com

    ie. in Settings > Discussion I specified "mystery man" as the default, but in the comments it displays the blug G avatar instead.

    Any ideas why?

    Thank you,

  2. dominoeffect
    Member
    Posted 3 years ago #

    Resolved: I only needed to clear the cache, sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic