rtpHarry / EmptyMediaTitle-Wordpress

Sets the image title attribute to an empty field on upload, instead of setting it to the filename

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This is a plugin which sets the title of uploaded images to an empty string instead of injecting the filename.

Often the filename is not optimised. It can leak out in the form of gallery captions or alt/title tags and look messy.

This plugin defaults your image uploads to an empty string, so you can be sure if a caption is going to be displayed, that it's one you have set yourself.

Usage

Install the plugin and activate it.

The next image you upload will have an empty title tag once it appears in the media library.

Note: This doesn't currently apply to existing images in the media library, only new uploads. Visit the github repo and open an issue if you would find this kind of feature useful.

Download

Download and contribute issues at:

https://github.com/rtpHarry/EmptyMediaTitle-Wordpress/

Changelog

1.0.0 - 6th January 2022

  • Initial release

Licence

This plugin is licenced under GPL 3, and is free to use on personal and commercial projects.

Author

Built by Matthew Harris of runthings.dev, copyright 2022.

https://runthings.dev/

About

Sets the image title attribute to an empty field on upload, instead of setting it to the filename

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%