To brand your blog, you need to take care of all minute things including Default Gravatar (Mystery Man), which is annoying to most readers. This simple tutorial will help you change your Default Gravatar shown on your blog to a custom image.
Procedure:
Note: Do take backup of your theme before you try this.
01. Upload a 48 x 48px image to your theme directory.
02. In your WordPress Admin panel go to Appearance => Editor.

02. Then choose functions.php file from right hand side and add below code:

add_filter( 'avatar_defaults', 'newgravatar' );function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo('template_directory') . '/images/tutzonegravatar.jpg';
$avatar_defaults[$myavatar] = "TutZone";
return $avatar_defaults;
}
03. In above code change /images/tutzonegravatar.gif to the location/name of your image and TutZone to name of the Avatar which will be shown in your Options Panel and Save file.
04. Now go to Settings => Discussion and change your default Gravatar to a custom one:
![]()
That concludes this simple and useful tutorial. Hope you like it.
If you enjoy this post, make sure you 






Pingback: designfloat.com
Pingback: wp-popular.com » Blog Archive » Change Default Gravatar to Your Choice in Wordpress
Pingback: You are now listed on FAQPAL
Pingback: Latest Gravatar news – Top Commenters Gravatar Plugin For WordPress › WordPress Vote