[wordpress插件] AMP Img ShortcodeAMP Img简码

wordpress 插件 文章 2020-02-17 20:20 490 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin from WPZA provides your website with a shortcode to display AMP images, rather than using the standard HTML img tags in WordPress.

此WPZA插件可为您的网站提供显示AMP图像的简码,而不是在WordPress中使用标准HTML img标签。

安装步骤

After installing this plugin, you must use the shortcode [amp-img] on any page you would like the amp-img tag to be displayed on.

安装此插件后,必须在任何要显示amp-img标记的页面上使用短代码[amp-img]。

To insert the image, you must use the image attribute as such:

要插入图像,必须这样使用image属性:

[amp-img image=”https://wpza.net/example-image.jpg”]

[amp-img image =” https://wpza.net/example-image.jpg”]

To insert the alt text, you must use the alt attribute as such:

要插入替代文本,必须使用alt属性,如下所示:

[amp-img image=”https://wpza.net/example-image.jpg” alt=”Example image alt text”]

[amp-img image =” https://wpza.net/example-image.jpg” alt =“示例图片替代文字”]

下载地址
https://downloads.wordpress.org/plugin/amp-img-shortcode.zip
-EOF-

AI助手支持GPT4.0