Leira Letter Avatar

Plugin Banner

Leira Letter Avatar

by Ariel

Download
Description

Leira Letter Avatar allows you to automatically generate user avatars using the initial letters of their first and last names.

The plugin is fully customizable from the admin area. You can configure avatar settings such as shape, background color, font color, and image format (.svg, .png, .jpg).

Compatibility

Leira Letter Avatar works with any properly coded WordPress theme. Some plugins may conflict; if you encounter issues, please report them in the community forum.

Known compatible plugins:

Contributors

Special thanks to:

Development

You can contribute to the plugin development on GitHub.

  1. Upload the plugin files to /wp-content/plugins/leira-letter-avatar or install directly via the WordPress plugin screen.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Settings Letter Avatar to configure your options.
  4. Enjoy automatically generated avatars for your users!
  1. Letter Avatar settings page under <strong>Settings → Letter Avatar</strong>.

    Letter Avatar settings page under Settings → Letter Avatar.

  2. Default avatar option set to "Letter".

    Default avatar option set to "Letter".

  3. Comments list displaying generated user letter avatars.

    Comments list displaying generated user letter avatars.

  4. Users list with letter avatars.

    Users list with letter avatars.

  5. Dashboard comments view with letter avatars.

    Dashboard comments view with letter avatars.

  6. Frontend comments with letter avatars.

    Frontend comments with letter avatars.

What image formats are supported?

You can choose between .svg, .png, and .jpg.
.svg is recommended for the best quality and performance.
.png or .jpg may be necessary when sending avatars in emails, since some email clients (like Gmail) do not fully support .svg.

How are avatars generated?

Avatars are created automatically from the user’s initials using your settings. Each avatar is generated once, but if a different size is requested by a theme or plugin, a new avatar file is generated to match that size.

Where are avatars stored?

Avatars are stored in your WordPress uploads directory.

Can I select custom letters for the avatar?

No. The plugin automatically uses the initials of the user’s first and last name.

Can I use Gravatar if the user has one?

Yes. There is an option in the plugin settings to use the user’s Gravatar if available, instead of generating a letter avatar.

Why do some avatars have a black background?

This usually happens when using .jpg for round avatars, which does not support transparency. Use .png for transparent backgrounds.

This plugin is AWESOME!!!

By tony-states on May 10, 2025

I installed it to work with wpForo at (wpforo dot com) and it works perfectly!!!

Thank you so much for creating it!!!

It added numerous features to wpForo that were lacking and made everything much better!!!

✨ 💯 👍 🟊 🟊 🟊 🟊 🟊 😉

Thanks for the plugin

By glashkoff on February 13, 2025

The plugin does what it's supposed to do - makes threaded comments more visually appealing by adding letter avatars.

RTL Languages

By moghaddamhreza (e12ror) on November 26, 2024

Great work.

Add RTL language support please.

Convenient plugin that solves your problems

By Вадимчик (zemledelie) on September 18, 2024

The plugin works great. You just need to keep track of the number of avatars created. When you delete a user, the avatars remain. Those who have many registrations need to know this. Perhaps the author will solve this issue in the future.

Brilliant. As expected and even more options

By WP-Henne on February 2, 2023

Why this is not a feature in wordpress? Much other nonsense has been added in recent years….

This plugin is must have!

Thanks to the options for the settings of colors and number of letters, I can "unfortunately" do not see a reason for feature requests. 😉

Phenomenal!

Great plugin!

By Andy Feliciotti (someguy9) on February 28, 2022

Makes all of your comments a bit easier to identify, this should be built into WordPress it's so good!

Me encanta

By Roberto Hinojosa on August 20, 2021

Muy buena opción

Wow

By rawny on July 25, 2021

Fantastic

simply amazing

By ahmetsali on July 6, 2021

That's a great plugin, thank you! PROS + integrates flawlessly with gravatar + ability to add custom color list + auto adjusts text color based on background color maintaining contrast + option to make letters bold + svg support CONS - no option for letter font size - no option for letter font family - missing predefined color palettes: pastel colors/black-and-white/ vibrant etc... Thanks!

Nice

By janrenn on May 9, 2021

Works great, thanks.

1.3.11

  • Fixed admin toolbar avatar menu CSS issue
  • Refactored and improved overall code quality
  • Optimized avatar image generation to reduce server storage usage

1.3.10

  • WordPress 6.8 compatibility check
  • Development environment, deployment process, and code quality improvements
  • Updated readme file
  • Added support for BuddyBoss platform

1.3.9

  • WordPress 6.6 compatibility check
  • Improved text escaping
  • Use wp_rand() instead of PHP rand()
  • Improved file handling using WordPress functions

1.3.8

  • Use secure Gravatar HTTPS URL

1.3.7

  • Fixed PHP 8 bug with $size variable (intval)

1.3.6

  • WordPress 5.7 compatibility check
  • Fixed deprecated BuddyPress filter bp_core_avatar_default
  • Improved Gravatar image check

1.3.5

  • Fixed wpDiscuz issue with social avatars

1.3.4

  • WordPress 5.7 compatibility check
  • Added filter leira_letter_avatar_image_content

1.3.3

  • Fixed variable typo
  • Updated screenshot 4

1.3.2

  • Support for WP 4.9

1.3.1

  • Replaced deprecated get_user_by_email with get_user_by
  • Fixed avatar default reset on plugin deactivation

1.3.0

  • Added support for .png and .jpg formats
  • Fixed HTTPS avatar URL issue

1.2.6

  • WordPress 5.6 compatibility check
  • Fixed incorrect usage of um_user_avatar_url_filter by other plugins

1.2.5

  • Fixed the random background color generation issue

1.2.4

  • Synced plugin version with readme.txt version

1.2.3

  • Added GitHub Actions automatic deployment
  • Automatic updates for assets and readme

1.2.2

  • Added support for custom letter colors
  • Added YITH WooCommerce Advanced Reviews compatibility

1.2.1

  • Fixed an incorrect avatar size issue
  • Improved BuddyPress compatibility

1.2.0

  • Added compatibility with Ultimate Member and wpDiscuz
  • Support for Russian characters
  • Option to use Gravatar if available
  • Added “Rate us” link in the admin footer
  • Code refactoring and bug fixes

1.1.0

  • BuddyPress integration
  • Admin CSS improvements
  • Updated support link
  • Refactored source code
  • Updated screenshot descriptions

1.0.0

  • Initial plugin release
Back to top