Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/redolivedev/add-alt-text-from-title/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Stupid Simple Wordpress Plugin for Adding Image Alt Text
What's the problem?
Images on websites need alt text, and users don't always add alt text when they are uploading images.
What's a stupid simple solution?
Add image alt text by taking the file name, replacing hyphens with spaces and sentence casing the string.
How to use
The first time:
- Download this repo as a zip
- Upload it to your server under
wp-content/pluginsOR use add new plugin - upload and find the .zip file - Activate it in wordpress
The plugin will run on activation so that's all you need to do.
When you want to run it again
- Visit
{{your_site_url}}/wp-admin/?generatealttext
The plugin will only update the alt text of attachments without alt text, so no worries of overwriting alt text you painstakingly added.