wordpress插件之BJ Lazy Load

BJ Lazy Load的作者是Bjørn Johansen, Aron Tornberg, angrycreative,目前有90,000+个有效安装。已经Tested with 4.9.14版本的wordpress。
Description

Lazy loading makes your site load faster and saves bandwidth.

This plugin replaces all your post images, post thumbnails, gravatar images and content iframes with a placeholder and loads the content as it gets close to enter the browser window when the visitor scrolls the page. Also works with text widgets.

Since it works with iframes, it also covers embedded videoes from YouTube, Vimeo etc.

You can also lazy load other images and iframes in your theme, by using a simple filter.

Non-javascript visitors gets the original element in noscript.

Compatible with the RICG Responsive Images plugin for responsive images.

Please let me know if you have any issues. Fastest way to get a response is by Twitter: http://twitter.com/bjornjohansen

翻译
Russian (ru_RU) by Elvisrk
Hebrew (he_IL) by Imri Sagive
Polish (pl_PL) by Maciej Gryniuk
Norwegian Bokmål (nb_NO) by Bjørn Johansen

Development happens at GitHub. Pull requests are very welcome.

OPTIONAL USAGE

If you have images output in custom templates or want to lazy load other images in your theme, you may pass the HTML through a filter:

<?php
$img_html = 'wordpress插件之BJ Lazy Load插图';
$img_html = apply_filters( 'bj_lazy_load_html', $img_html );
echo $img_html;
?>

Note for developers: The filter has a priority of 10.

微慕商城——精选wordpress插件及wordpress主题,帮助站长快速生成wordpress小程序。
微慕WordPress小程序商城 » wordpress插件之BJ Lazy Load

提供最优质的资源集合

立即查看 了解详情