這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 訂閱開發記錄