Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, if you registered at Gravatar.com for an account, when using the email you register there, it will show the avatar you loaded to your Gravatar account.

    However, if you meant from within the WordPress admin panel and the several default gravatar choices you can select from:

    1. Open your template’s functions.php

    2. Insert the following code:

    add_filter( 'avatar_defaults', 'newgravatar' );
    function newgravatar ($avatar_defaults) {
    $myavatar = get_bloginfo('template_directory') . '/images/yournewgravatar.jpg';
    $avatar_defaults[$myavatar] = "Your New Gravatar";
    return $avatar_defaults;
    }

    3. Change where younewgravatar.jpg to the image you want and change the following text, Your New Gravatar to the name you wish to have your new default avatar be called.

    Thread Starter zozzoozzz

    (@zozzoozzz)

    Thanks u very much!

    I’ll try it at once.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I change the default thumbnail?’ is closed to new replies.