Lazy Loading Attribute archived
A WordPress plugin that adds Chrome's lazy loading attribute to images and iframes within post content
by Daniel M. Hendricks · github.com/dmhendricks/wordpress-lazy-loading-attribute-plugin · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dmhendricks/wordpress-lazy-loading-attribute-plugin/archive/refs/heads/master.zipReadme
Lazy Loading Attribute for WordPress
This plugin adds the loading="lazy" attribute to images and iframes contained within post content for supported browsers.
If a visitor's browser does not support the lazy loading attribute, the image/iframe will display normally without lazy loading.
Requirements
- WordPress 4.8 or higher
- PHP 5.4 or higher
Installation & Configuration
Simply download the ZIP file, install and activate. Once activated, it automatically adds the lazy loading attribute to images and iframes contained within post content.
There are no settings for this plugin.