Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

IMG Title Restore

Skildring

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.

Installasjon

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

Vanlege spm.

Does it do anything else?

No

Omtalar

5. november 2020
Thank you for keeping this function alive 🙂
27. mai 2020
I’ve been using the original «Restore Image Title» plugin since 2016, only to learn tonight about the passing of the original programmer. May Les Bessant rest in peace. Thank you for keeping this awesome plugin alive and updated, gashacon!
Les alle 2 omtalar

Bidragsytarar og utviklarar

“IMG Title Restore” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0

  • Initial release