Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

AMP Img Shortcode

Description

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

Installation

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.

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”]

FAQ

Installation Instructions

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.

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”]

Reviews

07. srpnja 2018.
We use this on our own website to allow our authors to easily create amp-img shortcodes within their post's content.
Pročitajte 1 recenziju

Suradnici i Programeri

“AMP Img Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Prevedite “AMP Img Shortcode” na svoj jezik.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.