WP Manifestindependent plugin directory
manifest / media / auto-rename-images

Auto Rename Uploads to Match Post Slug with Updates

Automatically renames uploaded images to match the post slug, adds product title to image alt text, renames attached images when a product is updated, and updates thumbnails accordingly.

★ 0stars

Install

Download source zip No release zip yet

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/dimadodonov/auto-rename-images/archive/refs/heads/master.zip
Updates itself. It ships its own updater, so new versions appear under Dashboard → Updates.

Описание

Плагин автоматически переименовывает загруженные изображения в соответствии с слагом поста, добавляет название товара в alt-текст изображения, и обновляет связанные изображения при обновлении товара.

Установка

  1. Скачайте плагин.
  2. Разархивируйте файл в папку /wp-content/plugins/.
  3. Активируйте плагин через меню "Плагины" в WordPress.

Настройки

После активации перейдите в Настройки -> Auto Rename, чтобы настроить параметры плагина.

Отладка

Для включения отладки включите WP_DEBUG в wp-config.php:

define('WP_DEBUG', true);