WP First Letter Avatar sets custom avatars for users without Gravatar. The avatar will be a first letter of the user’s name. You can also configure the plugin to use any other letter to set custom avatar.
WP First Letter Avatar includes a set of beautiful, colorful letter avatars in many sizes. Optimal size will be chosen by the plugin in order to display high quality avatar and not download, for example, big 512px avatars when only 48px is needed… PSD template for avatar is also included.
You can also create your own avatar set by creating new directory next to ‘default’ folder and following the naming convention from ‘default’.
By default, custom avatar will be set only to users without Gravatars, but you can change that in settings and not use Gravatar at all.
WP First Letter Avatar helps you bring more colors into your blog. Plus, your readers will be more willing to comment on your posts, since they can actually relate to these avatars much better than to Mystery Person.
All images were compressed using the fantastic TinyPNG, so avatars are incredibly light and ultra-high quality.
WP First Letter Avatar is also available on GitHub.
Compatibility with other plugins
WP First Letter Avatar requires at least PHP 5.4. It does not work properly on PHP 5.3.x and earlier.
From WordPress dashboard
- Go to ‘Plugins > Add New’.
- Search for ‘WP First Letter Avatar’.
- Activate ‘WP First Letter Avatar’ in ‘Plugins’ page.
- Plugin works right out of the box. For additional configuration, go to ‘Settings > WP First Letter Avatar’.
Extract the zip file and drop the contents in ‘wp-content/plugins/’ directory of your WordPress installation, then activate the Plugin from ‘Plugins’ page.
- Plugin does not work, what should I do?
There may be some conflict with this plugin and some other plugins you are using. If WP First Letter Avatar is overriding your other avatar plugins, please go to plugin settings and change Filter Priority value to a lower value — for example 9, or even -1. If other plugins are overriding WP First Letter Avatar images, try increasing the value to 11 or 9999. Experimenting with these values should give you some results. Filter priority value basically specifies the order that avatar filters are executed in. Setting it to a high value will cause WP First Letter Avatar to execute after other plugins, whereas setting it to a low value will execute WP First Letter Avatar before other plugins.
- Can I change custom avatars?
Absolutely! Just create new directory in ‘images’ directory, call it, for example ‘my_avatar_set’ and change the avatar set in settings. Make sure to follow the directory and filename convention.
NOTE: Your custom avatars WILL BE DELETED after updating the plugin! Make backup!
- Can I set custom avatars based on last (or any other) character in user’s name?
Of course! This can be done in plugin settings.
- I don’t want to use Gravatar at all. Can I disable it?
Yes! By default, WP First Letter Avatar sets custom avatar only to users without Gravatar, but in plugin settings you can disable it and use custom avatar for everybody.
- Is WP First Letter Avatar compatible with other plugins?
WP First Letter Avatar has fully tested compatibilty with bbPress and wpDiscuz. For BuddyPress compatibility, please use my other plugin — BuddyPress First Letter Avatar.
- Can avatars be round, like in Google+?
Yes — just go to plugin settings and click Round avatars.
Contributors & Developers
“WP First Letter Avatar” is open source software. The following people have contributed to this plugin.Contributors
- Added 2 new avatar sets (opensans and roboto) — thanks flector!
- Added option to pass additional arguments to get_avatar() — thanks dpsjorge! (for developers only)
- Fixed get_currentuserinfo() function deprecated notice
- Fixed undeclared variable notice
- Fixed mbstring extension error
- Added Polish translation
- Fixed problem with bbPress avatars
- Added fallback for Polish letters (thanks Micha�!)
- Plugin prepared for translations (contributors are welcome!)
- Fixed possible PHP error on activation due to anonymous function used
- Added support for Arabic letters (huge thanks to @AmiNimA)
- Added latest wpDiscuz compatibility
- Fixed possible PHP error
- Fixed problem with filter priority value
- Added support for numbers
- Added support for Cyrillic script (huge thanks to @collex)
- WordPress 4.4 ready
- Small fix: changed description of filter priority value in settings (thanks to @yolandal)
- Improved coding style (resulting in possibly slightly better performance)
- Redesigned Gravatar/first letter avatar choice mechanism (faster and more reliable performance)
- Fixed possible problem with verifying Gravatars
- WordPress 4.3 ready (fully tested)
- Fixed fatal error on PHP 5.3 (now plugin simply won’t activate on PHP lower than 5.4)
- Greatly improved security of AJAX requests
- Added new feature — filter priority (only for advanced users)
- Fixed possible compatibilty issues with other plugins by adding prefix to couple of global JS variables
- Fixed weird error some users experienced (avatars displaying as letter A for every user)
- No longer need to activate plugin on Settings > Discussion page (it was causing problems)
- Changed plugin author from myself to my brand — Dev49.net 🙂
- Fixed couple of minor issues
- Added new default avatar in Settings > Discussion page
- Plugin options removed from database after uninstalling (no DB leftovers after uninstalling)
- Added protection disallowing activating plugin on PHP < 5.4 and WP < 4.0
- PHP 5.4.x or later REQUIRED: PHP 5.3.x is no longer supported by PHP team, if you are still using it — update immediately
- Added asynchronous Gravatar loading for faster page rendering (needs to be activated in plugin Settings)
- Added auto-check to see if one or more options in plugin Settings are not empty
- Fixed standard avatars replacement on Discussion page in Settings
- Couple of minor fixes
- Fixed common PHP warning
- Fixed avatar presentation of logged-in users in their userbars
- Fixed couple of small technical issues
- Improved avatar appearance on top admin/user bar
- Added full compatibility with bbPress plugin
- Fixed conflicts with some comment systems (such as wpDiscuz)
- Avatar is now in the right position in dashboard (in previous versions it used to be in bottom left corner instead of upper right corner)
- Optimized database readings (for plugin settings)
- Added round avatars option — you can turn it on in plugin settings
- Fixed PHP “Missing argument” error
- First WP First Letter Avatar release