=== WP Lazy ===
Contributors: seezee
Donate link: https://messengerwebdesign.com/donate
Tags: wordpress, filter, images, performance, lazy load
Requires at least: 3.9
Tested up to: 5.8.2
Requires PHP: 7.0
Stable tag: 1.0.3
License: GNUv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
== Description ==
Functions to add the loading="lazy"
attribute when inserting new media or displaying a gallery via the WordPress gallery shortcode.
== Installation ==
- Copy the contents of
lazy.php
to your theme’sfunctions.php
. DO NOT include the opening<?php
tag! - Place
lazy.php
in your theme folder and userequire_once __DIR__ . '/path/to/lazy.php';
to invoke it - Incorporate the functions in a custom plugin
== Frequently Asked Questions ==
Allows WordPress users to use native lazy-loading now that several major browsers support it.
I’d love to hear your feedback. Drop me a line.
I’m looking for collaborators to improve the code. If you are an experienced WordPress programmer, hit me up!
Feel free to send a donation to my Paypal account. Or buy me a beer or a coffee if you’re in town.
== Changelog ==
= 1.0.3 =
- 2021-11-11
- Tested up to WordPress 5.8.2
- Changed double quotation marks to single quotation marks to meet WP coding standards
= 1.0.2 =
- 2012-09-06
- Clarified usage option one in installation instructions
= 1.0.1 =
- 2012-08-22
- Corrected README errors
= 1.0.0 =
- 2012-08-22
- Initial release
== Upgrade Notice ==
= 1.0.3 =
- 2021-11-11
- Tested up to WordPress 5.8.2
- Changed double quotation marks to single quotation marks to meet WP coding standards