More than 1000+ satisfied clients and counting, since 2010


Create Custom WordPress Avatar in Easy Steps

Create Custom WordPress AvatarAvatars are basically the images or logos displayed when someone lives a comment on your blog post. But if a person mistypes his or her email address or does not have an avatar, then the default WordPress avatar is shown alongside the comment.

WordPress allows site owners to create custom WordPress avatars for users. The custom image will be shown when no avatar is associated with the mail id. Otherwise the Gravatar set by the user will be displayed.

You too can create custom WordPress avatars for your WordPress run blog or website. This blog post will cover how to create custom WordPress Avatars in easy steps:

Steps to Create Custom WordPress Avatar

Follow the steps to create custom WordPress avatar for your blog or website:

  • Create a 80 x 80 px size image file in .png or .jpg format
  • Upload the file in image folder of your web host
  • Go to Appearance > Editor > functions.php
  • For safety, make a copy of the functions.php and save it in a notepad
  • Add the following code to create custom WordPress Avatar:

add_filter( ‘avatar_defaults’, ‘new_avatar’ );
function new_avatar($avatar_defaults){
$new_avatar = get_stylesheet_directory_uri() . ‘/images/avatar_logo.png’;
$avatar_defaults[$new_avatar] = “Infyways Logo”;
return $avatar_defaults;

  • Replace /images/avatar_logo.png with your image file name
  • Replace Infyways Logo with your new Avatar name

Use the above steps to create custom WordPress avatars for your website or blog and easily change the default WordPress avatar. If you are unable to change the default WordPress avatar, then Request a Quote. Our WordPress team will assist you in the process to create custom WordPress avatar.

Apart from WordPress services, we also provide WordPress SEO services and extension development. If you don’t have a WordPress blog or website yet, then ask for a HTML to WordPress or PSD to WordPress template conversion.

Written by

The author didnt add any Information to his profile yet