WordPress – Set Post Title and Categories as Image Alt Text automatically

If you don’t want to miss opportunities to appear in Google’s first results, you’ll need to establish clear alt texts related to your posts. However, if you haven’t set your image alt texts, you’ll have some tedious hours trying to edit all your images.

You need to open your posts, open each image, edit the alt text, save changes for each image, save changes for each post, etc. Now imagine you have two thousand posts with an average of three images each. That means you’ll have to edit six thousand images, and that’s a lot!

The great news is that we can show you how to set post title and categories as your image alt text. You’ll be able to do it in just some minutes and following a few steps. Just follow these simple steps.

1- Install the Media Library Spreadsheet plugin

With this plugin, you can edit thousands of media files in minutes. It will display all your files on a spreadsheet where you can do advanced searches in just some seconds and apply changes massively.

Also, you can export all your files to a CSV file that you can edit with Excel or Google Sheets.

You can download the plugin here:

Download Media Library Spreadsheet Plugin - or - Read more

Once installed and activated, you need to go to Sheet Editor > Edit Media to open the spreadsheet.

2- Open the “Bulk Edit” tool to edit all your images

This tool allows you to apply changes massively in just some seconds. Open it by clicking on Bulk Edit on the plugin’s toolbar.

3- Filter your images in order to edit them

As you’ll notice, the plugin will show you all types of files. Therefore, you need to filter the images only in order to edit them.

For this, you need to select the I want to search rows to update option in the Select the rows that you want to update dropdown.

Now you need to tick the Enable advanced filters checkbox and select these values to filter your images.

  • Field key: Format
  • Operator: CONTAINS
  • Value: image

Now just click on Run search. After that, the plugin will filter all your images in order to apply the changes to them with the Bulk Edit tool.

4- Set the post title and categories as image alt text

After filtering your images, you need to use these values in order to set the post title and categories as alt text.

  • Select the rows that you want to update: I want to search rows to update
  • What field do you want to edit: Alt text
  • Select type of edit: Copy from other columns
  • Copy from multiple columns: $parent_taxonomies$ (Taxonomies of parent post)-$post_parent$ (Attached to this post)
  • Click on Execute now

Done!

That was a piece of cake. Now all your images’ alt texts will be related with the title and the categories of the posts they’re associated with. As you can see, it’s really simple and fast. Just a few steps and done!

You can download the plugin here:

Download Media Library Spreadsheet Plugin - or - Read more

Do you need help?

You can receive instant help in the live chat during business hours, or you can contact us and we will help you via email.

Close Menu