Image Alt Sync
v1.5.2dufour_l · 2025年10月10日 上架
Sync image alt attributes in posts with Media Library text. Includes batch tools, filters, dry runs and WP-CLI support.
- 正在使用
- 30+
- 评分
- 暂无
- 累计下载
- 765
- 最近更新
- 2026年11月14日
贡献者
Sync post image alt text with Media Library values. Includes batch tools, filters, dry runs and WP-CLI support.
Features:
* Batch processing with a configurable batch size and delay.
* Filter posts by status and date range.
* Limit processing to a range of post IDs.
* Optionally skip posts without image tags.
* Exclude image file extensions.
* Dry-run mode to preview changes without saving them.
* Detailed browser logs and WP-CLI support.
* Translated administration interface: English, French, Spanish, German, Italian, Portuguese and Dutch. English is used when no translation is available.
The plugin updates image markup in post content. It does not modify the Alt Text stored in the Media Library.
Always run a dry run first and review the proposed changes before processing posts for real.
Usage
- Choose the post status and optional date range.
- Optionally set a minimum and maximum post ID.
- Configure batch size and delay.
- Choose whether to skip posts without image tags and whether to exclude specific image extensions.
- Run a dry run and review the log.
- If the preview is correct, select No for Dry Run and start processing.
- Use Stop to stop after the current batch has completed.
WP-CLI
Run from the WordPress installation directory:
wp image-alt-sync run --status=publish --after=2025-01-01 --before=2025-08-13 --batch-size=100 --delay=1 --dry-run --low-id=1 --high-id=9999 --skip-noimg=1 --exclude-ext=".svg,.gif"
Available arguments:
* --status= publish, pending, draft, private or any (default: publish).
* --after= Start date in YYYY-MM-DD format.
* --before= End date in YYYY-MM-DD format.
* --batch-size= Number of posts per batch (default: 100).
* --delay= Delay between batches in seconds (default: 1).
* --dry-run Preview changes without saving them.
* --low-id= Minimum post ID.
* --high-id= Maximum post ID.
* --skip-noimg=1 Skip posts without image tags.
* --exclude-ext= Comma-separated image extensions to exclude.