Linux 软件免费装
Banner图

Lazy Load XT

开发者 dbhynds
更新时间 2016年2月23日 00:01
PHP版本: 3.1 及以上
WordPress版本: 4.4.2
版权: GPLv2 or later
版权网址: 版权信息

标签

video image media YouTube Vimeo iframe Lazy Load Lazy Load XT

下载

0.1.0 0.2.0 0.3.0 0.3.1 0.3.2 0.4.0 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3

详情介绍:

Lazy load images, YouTube and Vimeo videos, and iframes using Lazy Load XT. Lazy Load XT is the fastest, lightest, fully customizable lazy load plugin in the WordPress Plugin Directory. This plugin works by loading the Lazy Load XT script and replacing the src attributes with data-src when the content of a post or page is loaded on the front end of a WordPress site.

安装:

  1. Install and activate the plugin through the 'Plugins' menu in WordPress
or
  1. Download and unzip Lazy Load XT.
  2. Upload the lazy-load-xt folder to the /wp-content/plugins/ directory
  3. 通过WordPress的的“Plugins”菜单激活插件

常见问题:

Why aren't my images lazy loading?

Lazy Load XT filters images added to the page using the_content, post_thumbnail_html, widget_text and get_avatar. If your images are added using another function (wp_get_attachment_image for example), Lazy Load XT does not filter them. However, as of v0.4, you can filter the HTML yourself by passing it to get_lazyloadxt_html. For example, if a theme has: echo wp_get_attachment_image($id); Changing it to the following would lazy load the image: echo get_lazyloadxt_html( wp_get_attachment_image($id) );

更新日志:

0.5.3 0.5.2 0.5.1 0.5.0 0.4.1 0.4 0.3.2 0.3.1 0.3 0.2 0.1