Change Default Gravatar to Your Choice in WordPress
Do you like this story?
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.

This post was written by: Franklin Manuel
Franklin Manuel is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
My Latest Twitts
- Maximum Download
- Free Download
- 300Mb Movies
- TV Torrents
- Megaupload Links Library
- Free HotFile
- 0DayArchive
- MasooDownload
- Vista Black DDL
- MEDIAFIRE Movies & Hot Celebs
- OhMyGod it's free
- GFX s Hack
- Direct Files
- Softff
- Photoshop Tutorials
- download free
- free download full movie
- Free Ebook Downloads
- Latest News
- Free software world


0 Responses to “Change Default Gravatar to Your Choice in WordPress”
Post a Comment