Цей плагін не перевірявся з останніми 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.

Відгуки

07.07.2018
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.