How to Automatically Add Media Titles in WordPress – Images on a site are the most important part of a content-rich website, with site images becoming more lively and also making visitors more comfortable reading because they are not only focused on writing alone, readers may become bored and leave your site without reading article to completion.
Image is also one way to bring traffic, because a lot of traffic comes from search engines through images. Using an appropriate title and alternative text (alt image) for images can make the image pop SEO friendly. However if you upload a lot of images, then there’s a good chance that you might forget to add the proper title and alt text sometimes to your WordPress media files. In this article, I will show you how to automatically add media titles in WordPress.
How WordPress Handles Media Titles
WordPress automatically uses the filename as the title for all your media files that are uploaded using the WordPress Media uploader. WordPress leaves the alt text field empty for you to fill in. Not to mention that media titles in WordPress are only used internally, and are not used as title parameters in image tags.
Automatically Add Media Titles in WordPress
The first thing you need to do is install and activate the plugin Media Titles Format. After activation, just log in Settings »Format Media Titles to do plugin settings.
This plugin allows you to remove hypens and underscore hyphens. For example, if your media file name is “tutorial-WordPress.jpg“, It will be”WordPress tutorialsIn the title section of your image. By default, the plugin will remove hyphens and underscores, but you can also use it to remove the period, tilde, and plus characters from file names.
The Media Titles format can also take advantage of words in the title field. There are several options available. You can take advantage of all the first words or words only. You can also use lowercase or uppercase characters for all words.
In the lower settings on Misc. Options, You can add a formatted media title for the alt image, caption and description fields. I suggest that you don’t forget to check the option “alternative text”, this way even if you forget to add alternative text for your image, this plugin will automatically use the media title formatted as alt text.
Now every time you upload a new image, the Media Title will automatically format the file name used in the title to be read and become SEO friendly like the image above.
Note that the plugin will still not use media titles formatted as title parameters in the html img tag. For that you need to follow the instructions in my previous tutorial about the difference between Alt Image and Title Image in WordPress. I hope this article helped you automatically add media titles in WordPress. Hope it is useful. 🙂