Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/aberkow/bb-ll-plugin/archive/refs/heads/develop.zipOn Packagist as ucomm/bb-ll-plugin:
composer require ucomm/bb-ll-pluginNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Beaver Builder Lazy Loading Plugin
The Beaver Builder Lazy Loading Plugin (BBLL) adds lazy loading functionality to Beaver Builder photo modules and row background images.
By default, Beaver Builder images are not lazy loaded. On many sites, this can be an issue for people on slow connections. BBLL does the following:
- Adds lazy loading options to the settings panels for row background images and photo modules
- Adds a new photo thumbnail size (bb-lazy-load) of 50px x 50px to be used as a placeholder
- Ensures browser compatibility by checking for the presence of window.IntersectionObserver
- Ensures no-js fallback by including tags for each photo
- Uses only public Beaver Builder hooks and filters
Usage
Local Development
To work on this project with docker and composer
- clone or fork the repo
- run composer install to install the composer dependencies. NB - You will need your own copy of the Beaver Builder plugin.
- run docker-compose up to create a development environment. The project will be available at localhost
- install wordpress and activate plugins
To work on this project without docker and composer...
- clone or fork the repo into an existing wordpress applicatio