Skip to content

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

License

Notifications You must be signed in to change notification settings

rtpHarry/EmptyMediaTitle-Wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages