[wordpress插件] Automatic image ALT attributes自动图像ALT属性

wordpress 插件 文章 2020-02-25 11:00 613 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Restores WordPress default functionality prior to version 4.7 where image ALT attributes were automatically generated and put into the HTML code.

恢复4.7版之前的WordPress默认功能,在该版本中,自动生成了图像ALT属性并将其放入HTML代码中。

The ALT attributes were generated from the Caption (if it exists) else from the Title (if it exists) of the image in the Media Library.

ALT属性是从“字幕”(如果存在)生成的,否则是从“媒体库”中图像的标题(如果存在)生成的。

This plugin utilises Titles in generating ALT text, but does not utilise Captions.

此插件在生成ALT文本时使用标题,但不使用标题。

The Title used by this plugin, is the main Title of the image as found in the Media Library, not the HTML TITLE attribute of the image (that is something else, which this plugin ignores).

此插件使用的标题是在媒体库中找到的图像的主要标题,而不是图像的HTML TITLE属性(这是该插件会忽略的其他内容)。

安装步骤

    1. Upload ‘automatic-image-alt-attributes’ directory to the ‘/wp-content/plugins/’ directory.

      将“ automatic-image-alt-attributes”目录上传到“ / wp-content / plugins /”目录。

    2. Activate the plugin through the ‘Plugins’ menu in WordPress.

      通过WordPress中的“插件”菜单激活插件。

下载地址
https://downloads.wordpress.org/plugin/automatic-image-alt-attributes.zip
-EOF-

AI助手支持GPT4.0