Plugin info

Total downloads: 2,588
Active installs: 100
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 10/17/2025 (74 days ago)
Added to WordPress: 9/13/2017 (8 years old)
Minimum WordPress version: 3.1
Tested up to WordPress version: 6.8.3
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 74 days ago

59/100

Is Fix Gravatar Alt Text & Title Tag abandoned?

Likely maintained (last update 74 days ago).

Compatibility

Requires WordPress: 3.1
Tested up to: 6.8.3
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Alt-Tags-for-Gravatar
Rating 0.0/5 (0 reviews)Active installs 40
Gravatar SEO
Rating 5.0/5 (1 reviews)Active installs 10
Seo Optimized Images
Rating 4.0/5 (27 reviews)Active installs 10,000
Auto Image Alt Attribute
Rating 4.8/5 (24 reviews)Active installs 7,000
Format Media Titles
Rating 4.8/5 (18 reviews)Active installs 5,000

Description

This simple, lightweight plugin solves one particular issue. WordPress doesn’t include any alt text or a title tag when using Gravatars. This addresses that by using the comment author name for each of your comment’s Gravatars, and for any other Gravatar usage it should use the authors display name.

So if you create a post it will use your name for your Gravatars Alt text and Title tag and then for the comments it will use the commenters name for their Gravatars Alt text and Title tags.

With this plugin you can squash those pesky warnings given by SEO reporting tools that look for missing alt text and title tags.

Important Notes

Installation

  1. Install via the WordPress Plugin manager, or unzip and add to wp-content/plugins.
  2. Activate the plugin via the dashboard.
  3. Refresh a page containing Gravatars (Blog post most likely), clear caches if necessary.
  4. Check your source code and Gravatars should now contain the right Alt text and Title tag.

Or you can just copy the function and drop it into your functions.php file, if not wanting to use yet another plugin.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.1 – 2024-07-03

  • Added logic to add or replace the title attribute in the avatar image with the appropriate author information.
  • Implemented sanitization of author name using esc_attr() for enhanced security
  • Replaced str_replace with preg_replace for precise and robust attribute replacement
  • Added a fallback to ‘Anonymous’ if no valid author name is found.
  • Enhanced overall accuracy, flexibility, and security of the plugin

1.0

  • Initial plugin – 7 September 2017