该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

AMP Img Shortcode

描述

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

Shortcode usage

To insert the image, you must use the image attribute as such: [amp-img image="https://wpza.net/example-image.jpg"]

To insert the alt text, you must use the alt attribute as such: [amp-img image="https://wpza.net/example-image.jpg" alt="Example image alt text"]

安装

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.

评价

2018年7月7日
We use this on our own website to allow our authors to easily create amp-img shortcodes within their post's content.
阅读所有1条评价

贡献者及开发者

“AMP Img Shortcode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“AMP Img Shortcode”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志