| 开发者 | vigneshkemp |
|---|---|
| 更新时间 | 2026年11月25日 00:06 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
IMG_1234, DSC0042, PXL_20240101_…, -scaled, -300x200, dates, timestamps, WhatsApp/screenshot prefixes and random hashes. IMG_4821-scaled.jpg in a post called "Kerala Backwaters Trip" becomes Kerala Backwaters Trip rather than "Img 4821 Scaled".{site} and {post} placeholders.wp smart-alt-text stats, wp smart-alt-text generate [--dry-run] [--overwrite]smart_alt_text_generated_alt( $alt, $attachment_id, $raw, $settings ) changes the result.smart_alt_text_title_case_small_words sets the words kept lowercase in Title Case.smart-alt-text folder to /wp-content/plugins/.Both. New uploads get alt text saved automatically. For existing images, use Settings → Smart Alt Text → Update existing images, or the bulk actions in Media → Library (list view). Until you do, the front-end fallback still adds alt text when those images are displayed.
No. Only images with empty alt text are changed. Overwriting happens only when you tick "Also overwrite" or use the "Regenerate alt text (overwrite)" bulk action.
Saved alt text is stored in the Media Library and is used everywhere, including the editor. The fallback only changes the HTML sent to visitors and writes nothing to the database. Running the bulk update once is recommended.
It is far better than empty alt text, but it is only as good as your file and title names. For important images, rename the image title in the Media Library (or write the alt text by hand) and the plugin will use it.
With clean-up enabled, a name that is pure camera noise is replaced by the title of the post the image was uploaded to. If there is none, the image is skipped rather than given useless alt text.
Its settings are removed. Alt text already saved to your images stays.