最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Alternative default avatar generator?

programmeradmin1浏览0评论

Most of the commenters at my WordPress blog do not have a Gravatar account. Hence the comment section is almost always filled with the same old mystery man avatars.

I am looking for custom gravatar generators for commenters without their own avatar. So far I have only found Identicons, MonsterID’s, and Wavatars. I find some of the avatars generated by these engines to be these ugly, scary and OTT. Also these do not blend with the blog theme and stick out like a sore thumb.

Can some one point me to a avatar generator that can generate nice looking avatars?

Most of the commenters at my WordPress blog do not have a Gravatar account. Hence the comment section is almost always filled with the same old mystery man avatars.

I am looking for custom gravatar generators for commenters without their own avatar. So far I have only found Identicons, MonsterID’s, and Wavatars. I find some of the avatars generated by these engines to be these ugly, scary and OTT. Also these do not blend with the blog theme and stick out like a sore thumb.

Can some one point me to a avatar generator that can generate nice looking avatars?

Share Improve this question edited Apr 26, 2011 at 14:49 Jan Fabry 30.5k4 gold badges90 silver badges136 bronze badges asked Apr 21, 2011 at 6:28 Ashwin PrabhuAshwin Prabhu 1237 bronze badges
Add a comment  | 

3 Answers 3

Reset to default 2

It depends on what you call "nice" of course - it's hard to create something meaningful with an algorithm.

Someone once created a unicorn-generator, which was used on April 1, 2010 all over Stack Overflow. Your unicorn looks like this:

The only other one supported by Gravatar is the retro generator. This is built into newer versions of WP, just select it in Settings->Discussion.

Drop this code in your function.php

    add_filter( 'avatar_defaults', 'wpb_new_gravatar' );
function wpb_new_gravatar ($avatar_defaults) {
$myavatar = 'http://example.com/wp-content/uploads/2017/05/custom-gravatar.png';
$avatar_defaults[$myavatar] = "Default Gravatar";
return $avatar_defaults;
}

Replace url with your custom avatar url. Then go into Settings > Discussion and here you can select your custom avatar. For more detail (screenshots & video) take a look on this link

发布评论

评论列表(0)

  1. 暂无评论