There is a How-to video at the end of the post.
An avatar is a way to help brand yourself. It is usually a logo or picture of yourself that shows up when you leave a comments in a blog post.
With WordPress, they give the ability to default a user’s Gravatar account when they comment with the associated email address.
Here is an example:
But if a person leaves a comment on your blog with an associated Gravatar account or mistypes the proper email account, a default WordPress avatar is used.
You, the site owner, have the ability to choose what WordPress avatar you want to default. This will show when a person without a custom avatar leaves a comment on your blog. This can be found on your Discussion Settings tab in the dashboard.
Custom WordPress Avatar
While having a choice of monster IDs and retro designs is nice, a site owner needs a custom WordPress avatar.
After creating a 80 x 80 pixel image, save it as a .png file. Upload it into your BlueHost cpanel image folder.
Go into Apprearance > Editor > functions.php file. Make a copy of it and paste it into notepad (just incase you make a mistake or you run into technical issues, you’ll have a copy of the original file).
Add this code:
add_filter( 'avatar_defaults', 'new_avatar' );
$new_avatar = get_stylesheet_directory_uri() . '/images/avatar_logo.png';
$avatar_defaults[$new_avatar] = "My Kick Ass Christine.biz Logo";
below this code:
// Start the engine
Replace ‘/images/avatar_logo.png’ in the above code with your image file name.
Replace “My Kick Ass Christine.biz Logo” with your new avatar name (unless you want to keep it).
So, what’s your custom WordPress avatar for your site look like? Leave me a link and I’ll come check it out.
Did you enjoy this post? Sign up by email to receive my free blogging tips! No spam. I totally respect your privacy.