[WordPress] 外掛分享: AMP Img Shortcode

首頁外掛目錄 › AMP Img Shortcode
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
★★★★★
5/5 分(1 則評價)
2249 天前
最後更新
問題解決
WordPress 3.0.0+ PHP 5.0.0+ v1.0.1 上架:2018-07-06

內容簡介

這個 WPZA 的外掛為你的網站提供一個短代碼,以顯示 AMP 圖片,而不是使用 WordPress 標準的 HTML img 標籤。

短代碼使用方法

為了插入圖片,你必須使用 image 屬性,如下:[amp-img image="https://wpza.net/example-image.jpg"]

為了插入替代文字,你必須使用 alt 屬性,如下:[amp-img image="https://wpza.net/example-image.jpg" alt="Example image alt text"]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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"]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon