這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Fix Gravatar Alt Text & Title Tag

外掛說明

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

安裝方式

  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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Fix Gravatar Alt Text & Title Tag〉的開發相關工作。

參與者

變更記錄

1.0

  • Initial plugin – 7 September 2017