IMG Title Restore
Les Bessant, gashacon By Les Bessant, gashacon

November 26, 2019

IMG Title Restore Plugin

Restores the title attribute when images are inserted into posts

WordPress 3.5 introduced a new feature – when images are inserted into posts, the title attribute is not included in the image tag. This was done with the best of intentions relating to accessibility, as documented on Trac

Unfortunately, this causes problems for some Lightbox plugins, quite apart from stopping image tooltips from appearing.

This plugin hooks into the media_send_to_editor filter and inserts the image title into the html inserted into the post.

The original author, LesBessant, sadly passed away and in the meantime the original plugin was closed. I plan to keep the plugin up to date whenever an update breaks it.

Installation

  1. Upload the restore-image-title folder into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Does it do anything else?

No

Changelog

1.0

  • Initial release

Details

  • Version: 1.5
  • Active installations: 70
  • WordPress Version: 3.5
  • Tested up to: 5.3.18

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars