Skip to content

Latest commit

 

History

History
executable file
·
23 lines (13 loc) · 820 Bytes

README.md

File metadata and controls

executable file
·
23 lines (13 loc) · 820 Bytes

WP Lazy Load

Requires WP 4.4+

A simple lazy load solution for pages and posts.

Usage

  • Activate Plugin
  • Win

Lazy Loading

Images are the key cause of large page sizes. They are often loaded even when not needed causing page sizes to be bigger than they need to be. This plugin loads images only when the user scrolls to it on the site. This plugin can reduce page load times and bandwidth usage.

About the plugin

The plugin filters the_content on pages and posts; changing the output of the img tag to work with a third party script.

http://afarkas.github.io/lazysizes/

The plugin only works on the_content and does not work on all images across the site. This is to keep things simple and is usually the main area in which theme developers do not have control over the output.