Skip to Main Content

How to automatically add a title to the media on WordPress

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Images are important because they enrich the articles. Use appropriate titles and alternative text (ALT text) can improve SEO. However, if you are sending multiple images at once, it is very likely that you forget to add title and alt text on your different files.

In this tutorial, I will show you how to automatically add a title to media on WordPress.

How does WordPress handle media titles?

WordPress automatically uses the file name as title when uploaded to the media library, but leaves the alt text " OTHER Empty to give you the choice to fill it. It goes without saying that media titles on WordPress are only used internally (only visible from the dashboard), and not as is the parameter " title In the image tag.

capture-mediathèque

How to automatically format the media title on WordPress

All you need to do to get there is to install and activate the extension " Format Media Titles ».

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

size-media-titles

After activating the plugin, you simply need to access the " Settings> Format Media Titles To configure the plugin.

size-media-title-SETTINGS

This plugin will allow you to remove the dashes and underscore available in the file names. For example, if you have a file called " fruit-basket.jpeg Then the name of the title will be Fruit Basket ". By default, the plugin removes dashes and underscore, but you can also use it to pull the date and other special characters in the file name.

This plugin can also capitalize the first letters of the names. In fact, there are several options available (pity they're in English for the moment).

In the section " Misc You can add a formatted title as alternate text, a description and the field " caption ". I recommend that you check the alternative text "alternate text field".

Now after your different " Uploads "(sending files to the server from the media library), you will notice that they are a name that can be exploited by the search engines.

demo

I hope this tutorial will be of great help to you. Do not hesitate to ask us about the various options offered by the plugin, I will be happy to provide an answer. Do not forget to share this tutorial with your friends on your favorite social networks.

This article features 0 comments

Leave a comment

Your email address will not be published. Required fields are marked with *

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
12 shares
Share10
tweet1
Save1