Forums

[resolved] [Plugin: Sidebar Login] How do I disable gravatars? (4 posts)

  1. de1337er
    Member
    Posted 2 years ago #

    I love the Sidebar Login plugin but I don't use avatars/gravatars. I had figured out how to disable it from loading the grey default gravatar previously but I did an auto-upgrade and can't figure out how to disable it again. Any help would be appreciated. Thanks!

  2. Mike
    Member
    Posted 2 years ago #

    Remove it from source or (easier) hide the image with css.

  3. de1337er
    Member
    Posted 2 years ago #

    I played around with the CSS to no avail so in this case I found changing the source easier. I did have to go back and look at a site backup I had to find the difference in the files.

    If anyone else is interested in removing the avatar all you need to do is delete or comment out line 273.

    echo '<div class="avatar_container">'.get_avatar($user_ID, $size = '38').'</div>';

  4. Heather
    Member
    Posted 2 years ago #

    Thanks for the tip!

    I was wondering how to remove the avatar and this did the job

Topic Closed

This topic has been closed to new replies.

About this Topic