Changeset 2231136
- Timestamp:
- 01/21/2020 06:23:21 PM (6 years ago)
- File:
-
- 1 edited
-
amp-img-shortcode/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amp-img-shortcode/trunk/readme.txt
r1905569 r2231136 2 2 Contributors: WPZA 3 3 Tags: amp-img, ampify, amp-image, accelerated mobile pages 4 Donate link: https://wpza.net/ contact/4 Donate link: https://wpza.net/ 5 5 Requires at least: 3.0.0 6 Tested up to: 4.9.66 Tested up to: 5.3.2 7 7 Requires PHP: 5.0.0 8 8 License: GPLv2 or later … … 14 14 This plugin from WPZA provides your website with a shortcode to display AMP images, rather than using the standard HTML img tags in WordPress. 15 15 16 ### Shortcode usage 17 To insert the image, you must use the image attribute as such: `[amp-img image="https://wpza.net/example-image.jpg"]` 18 19 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"]` 20 16 21 == Installation == 17 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. 18 19 To insert the image, you must use the image attribute as such: 20 [amp-img image="https://wpza.net/example-image.jpg"] 21 22 To insert the alt text, you must use the alt attribute as such: 23 [amp-img image="https://wpza.net/example-image.jpg" alt="Example image alt text"] 22 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.
Note: See TracChangeset
for help on using the changeset viewer.