https://github.com/dmhendricks/wordpress-lazy-loading-attribute-plugin
A WordPress plugin that adds Chrome's lazy loading attribute to images and iframes within post content
https://github.com/dmhendricks/wordpress-lazy-loading-attribute-plugin
iframe-lazyload iframes image-lazyload images lazy-load lazy-loading wordpress wordpress-plugin
Last synced: 2 months ago
JSON representation
A WordPress plugin that adds Chrome's lazy loading attribute to images and iframes within post content
- Host: GitHub
- URL: https://github.com/dmhendricks/wordpress-lazy-loading-attribute-plugin
- Owner: dmhendricks
- License: gpl-2.0
- Created: 2019-11-10T03:15:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-10T04:38:00.000Z (over 6 years ago)
- Last Synced: 2025-10-11T21:14:15.321Z (9 months ago)
- Topics: iframe-lazyload, iframes, image-lazyload, images, lazy-load, lazy-loading, wordpress, wordpress-plugin
- Language: PHP
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.danhendricks.com/?utm_source=github.com&utm_medium=campaign&utm_content=button&utm_campaign=dmhendricks%2Fwordpress-lazy-loading-attribute-plugin)
[](https://github.com/dmhendricks/wordpress-lazy-load-attribute-plugin/blob/master/LICENSE)
[](https://m.do.co/t/8a88362f5683?utm_source=github.com&utm_medium=campaign&utm_content=referral&utm_campaign=dmhendricks%2Fwordpress-lazy-loading-attribute-plugin)
[](https://twitter.com/danielhendricks)
[](https://browserstack.com/?utm_source=github.com&utm_medium=referral&utm_content=link&utm_campaign=dmhendricks%2Fwordpress-lazy-loading-attribute-plugin)
# Lazy Loading Attribute for WordPress
This plugin adds the `loading="lazy"` attribute to images and iframes contained within post content for [supported browsers](https://caniuse.com/#feat=loading-lazy-attr).
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.
[](https://github.com/igrigorik/ga-beacon/?utm_source=github.com&utm_medium=referral&utm_content=button&utm_campaign=dmhendricks%2Fwordpress-lazy-loading-attribute-plugin)