We'll create fresh WordPress site with Lazy Loader installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Lazy loading plugin that supports images, iFrames, video and audio elements and uses the lightweight lazysizes script. With manual modification of the markup it is also possible to lazy load background images, scripts, and styles.
Lazy loads (without the need of any manually modifications):
img
or picture
in posts, pages, Custom Post Types, Text Widgets, …* Can be enabled in the plugin options.
The plugin comes with the following options (under Settings › Media › Lazy Loader options):
skip-lazy
by default).* The unveilhooks extension of lazysizes supports more than video and audio elements, but you need to manually modify the markup to use it for:
The plugin adds a noscript
element as fallback for disabled JavaScript.
You can disable lazy loading for elements with specific CSS classes by defining them via the plugin settings (Settings › Media › Lazy Loader options). Or use the skip-lazy
class or the data-skip-lazy
attribute. skip-lazy
and data-skip-lazy
also work on wrapper elements to exclude the wrapper and its children from being processed.