Linux 软件免费装

Fix Gravatar Alt Text & Title Tag

开发者 newtlabs
更新时间 2024年7月3日 17:34
PHP版本: 3.1 及以上
WordPress版本: 6.5.5
版权: GPLv2 or later
版权网址: 版权信息

标签

title accessibility author gravatar alt

下载

1.0 1.1

详情介绍:

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.

安装:

  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.

更新日志:

1.1 - 2024-07-03 1.0