WP Manifestindependent plugin directory
manifest / performance / enable-loading-lazy

Enable <code>loading="lazy"</code>

WordPress plugin to enable loading="lazy" for all images & adds options to set fetchpriority.

by jiaSheng · github.com/bikebearlabs/enable-loading-lazy

1stars
10release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/bikebearlabs/enable-loading-lazy/releases/download/v20250316-75d2da1/enable-loading-lazy.zip

Readme

Enable Loading Lazy

WordPress plugin to enable loading="lazy" for all images & adds options to set fetchpriority. Inspired by https://github.com/adamsilverstein/wp-fetchpriority-control

Installation

Download the latest release of the plugin & install it on your WordPress site.

Overview

This plugin filters all images to add the loading="lazy" attribute, & adds itself into the Image block settings in the Block Editor to allow setting the fetchpriority attribute.

Usage

  • loading="lazy" works when the plugin is activated. No additional settings are required.
  • fetchpriority attribute can be set in the Image block settings in the Block Editor.

License

MIT

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v20250316-75d2da1 Mar 16, 2025 enable-loading-lazy.zip 10