• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove Gravatar and Link to Image on Server in Author Box

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Remove Gravatar and Link to Image on Server in Author Box

This topic is: not resolved

Tagged: author box, gravatar

  • This topic has 7 replies, 3 voices, and was last updated 11 years, 2 months ago by aureliendebord.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 27, 2013 at 9:08 am #75871
    AnoopSudhakaran
    Member

    Hello,

    I want to load the Author image from a directory in the server instead of calling it from Gravatar. I tried the this instructions here:

    Images

    But that didn't work.

    Also cleared cache etc.

    Can anybody help me out?

    Thanks

    http://www.hacktabs.com/opt-out-of-google-smarter-caller-id/
    November 27, 2013 at 4:32 pm #75968
    nutsandbolts
    Member

    Can you paste in the exact function you used so we can take a look?


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 29, 2013 at 7:22 am #76141
    AnoopSudhakaran
    Member

    The code from here : http://my.studiopress.com/snippets/images/#custom-gravatar

    If you were referring to that.

    November 29, 2013 at 10:27 am #76160
    nutsandbolts
    Member

    Apologies if this is obvious, but did you change the image path in the function to match the path to your image?


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 30, 2013 at 2:32 am #76258
    AnoopSudhakaran
    Member

    No worries, I know its a simple step but people can miss that. But in this case I did replace it with my Author Image url. 🙂

    September 19, 2014 at 7:59 am #125047
    aureliendebord
    Member

    Hello everyone,

    I am trying to display a custom avatar with the ambiance-pro theme.
    I have pasted the snippet in the function file of my theme, changed the path, but nothing has changed.

    My image is in the right folder ("/images" in the theme folder).

    Anyone has a clue ?


    Agence web Debord, building websites in France.

    September 19, 2014 at 9:32 am #125063
    nutsandbolts
    Member

    I had to change the snippet to use the full url instead, as I noticed that the partial URL stopped working:

    //* Display a custom Gravatar
    add_filter( 'avatar_defaults', 'nabm_gravatar' );
    function nabm_gravatar ($avatar) {
    	$custom_avatar = 'https://static.nutsandboltsmedia.com/wp-content/uploads/2014/09/nabm-avatar.png';
    	$avatar[$custom_avatar] = "NABM Gravatar";
    	return $avatar;
    }

    Once I did that, it started working again. Be sure to go to Settings > Discussion to select the new one and save. HTH!


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    September 19, 2014 at 12:10 pm #125077
    aureliendebord
    Member

    Thanks Andrea, it works perfectly 🙂


    Agence web Debord, building websites in France.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble