Title: Adding title tag automatically
Last modified: March 17, 2019

---

# Adding title tag automatically

 *  [ecroow](https://wordpress.org/support/users/ecroow/)
 * (@ecroow)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/adding-title-tag-automatically/)
 * Hello!
 * WordPress by default doesn’t add the title tag from media library, however, it
   does the alt tag.
 * I now have over 1000 images which don’t have a title tag and is there an easy
   and quick way to automatically add the title tag from the media library, or just
   copy the alt tag?
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/adding-title-tag-automatically/#post-11323295)
 * Are you referring to the fields you see in the Media Library, or what is output
   in the content of a post with an image?
 *  Thread Starter [ecroow](https://wordpress.org/support/users/ecroow/)
 * (@ecroow)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/adding-title-tag-automatically/#post-11331042)
 * Hello Joy!
 * I’m referring to the content of a post with an image. I can’t see a title in 
   source code.
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/adding-title-tag-automatically/#post-11331365)
 * WordPress _does_ output the `title` attribute and the `alt` attribute, if there
   is something entered in the Media Library. You might have a plugin or theme that
   is interfering with that getting into the content.
 * Or you might be asking what to do about images that are already in the content
   and didn’t have the `title` field when they were put into the content.
    You could
   have a PHP filter for `the_content` that adds the `title` attribute as the page
   is being generated. You could have a Javascript function that adds the `title`
   attribute once the page is loaded into the browser. You could run some sort of
   plugin that manipulates your content in the database to add the `title` attribute
   in your posts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding title tag automatically’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/adding-title-tag-automatically/#post-11331365)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
