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.

★ 1stars
10release downloads
v20250316-75d2da1latest · 1 year ago

Install

Download enable-loading-lazy.zip From the v20250316-75d2da1 release on GitHub, Mar 16, 2025

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/bikebearlabs/enable-loading-lazy/releases/download/v20250316-75d2da1/enable-loading-lazy.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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

Releases

1 release. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
Mar 16, 2025 1 year ago
enable-loading-lazy.zip
10