How to change the default wordpress avatar

wordpress148x140During the current week I need to change the default avatar in the wordpress site.

Searching in google I have found this article very interesting:

where the author expains very well the simple steps to do to set your own default avatar.

To change the avatar is very simple: you need to search the follow part of code in all files of the wordpress:

get_avatar($comment, 50 );

in this case the second parameter is the dimension of the avatar assuming the avatar has the width euqals to the height.

You can add a third parameter that rapresents your own images like

get_avatar($comment, 50, '');

Enjoy with wordpress!

This entry was posted in wordpress and tagged , , , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s