该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Lazy Optimization

描述

Lazy Optimization plugin is the first ever WordPress plugin to lazy load background images that are in external CSS files.
Lazy Optimization plugin works on top of Autoptimize plugin and is used to lazy load background images that are present in Autoptimize external CSS files.
Lazy Optimization plugin replace all the background images that are in Autoptimze external CSS files with a dummy image and when the element with the background image comes in viewport it’s original background images gets loaded.

Dependices Autoptimize.

安装

Search for “Lazy Optimization” under “Plugins” “Add New” in your WordPress dashboard to install the plugin.

Or install it manually:

  1. Download the plugin zip file.
  2. Go to Plugins Add New in your WordPress admin.
  3. Click on the Upload Plugin button.
  4. Select the file you downloaded.
  5. Click Install Plugin.
  6. Activate.

常见问题

Can I exclude background images from being lazy loaded?

Yes, you can. Go to Settings › lazy optimization, there you can see the option to exclude background images (by image name) from being lazy loaded.

Can I replace dummy background image?

Yes, you can. Go to Settings › lazy optimization, there you can see the option to replace the dummy background image.

Some background image are not being loazy laoded?

As Lazy Optimization plugin works on top of Autoptimize plugin so it will lazy loads background images that are in Autoptimize external CSS files. Any background image that is not in the Autoptimize external CSS files will not get lazy loaded.

评价

阅读所有1条评价

贡献者及开发者

“Lazy Optimization” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Lazy Optimization”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.3

  • Some Changes to JS Code and added index.php where necessary

1.0.2

  • Moved CSS and JS folder to wp-content folder so that upon updating the plugin those folders don’t get overwritten

1.0.1

  • readme.txt updated

1.0.0

  • Initial release