이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

SARVAROV Lazy Load

설명

This plugin is the best way to make your images, iframes & videos lazy. Just activate the plugin and lazy loading will work automatically. It’s very simple, just try it!

THIS PLUGIN WILL MAKE YOUR SITE FASTER

All your media content will be loaded only when it’s in the browser viewport. Also you can hide loading process from visitors at all: the lazy elements can be loaded invisibly before the user reaches it.

THIS PLUGIN WILL MAKE YOUR SITE LOOK BETTER

In just one click your can enable blurred LQIP (inspired by Medium) and average color placeholder. Both of them look very modern & interesting.

Main features

  • Speed up your blog, improve its PageSpeed Insights score
  • Change style of placeholder, animation, transition etc.
  • Make placeholder color based of the average color
  • LQIP technology (Low Quality Image Placeholders)
  • <noscript> for visitors who don’t have a JavaScript enabled
  • Using the Lazysizes library and a lot of hooks give the possibility for customization to make the result the way you want
  • High-quality code
  • SEO friendly
  • Mobile friendly
  • Low server load (due to caching)

스크린샷

  • A small demonstration of what can be done.
  • Settings page.

설치

  1. Upload the complete sarvarov-lazy-load folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can configure the plugin by clicking on the ‘Lazy Load’ link in the ‘Settings’ menu.

FAQ

Will that plugin work on any template?

I hope so, but might be not. I originally made this plugin for myself and I tested it only on latest WordPress release on the default Twenty Fifteen theme. If you have compatibility issues with my plugin and your theme – just write me and I will try to fix it on next update.

Why isn’t LQIP technologue working?

LQIP (Low Quality Image Placeholders) is working only on newly uploaded images (.jpg & .jpeg). If you want to make it work with existing images, you need to regenerate lqip image size using a third-party plugin like Regenerate Thumbnails.

How to make lazy custom images/iframes?

You can create a custom function like this:

function my_lazy_process( $content = '', $params = array() ) {

    if( class_exists( 'SARVAROV_Lazy_Load' ) ) {
        return apply_filters( 'lazy_process', $content, $params );
    }

    return $content;
}

Will this plugin affect SEO?

Definitely Yes, in a positive way. The pages of your site will load faster, which positively affects the indexing of your site by search engine robots. The plugin has no effect on image indexing: search engines see them, don’t worry!

How to add Schema.org vocabulary?

For example:

add_filter( 'sarvarov_lazy_load_image_container_atts', function( $atts ) {
    $new_atts = array(
        'itemprop' => array(
            'value' => 'image'
        ), 
        'itemscope' => array(
            'value' => 'itemscope'
        ), 
        'itemtype' => array(
            'value' => 'http://schema.org/ImageObject'
        )
    );

    $atts = array_merge(
        $atts,
        $new_atts
    );

    return $atts;
}, 10, 1 );

add_filter( 'sarvarov_lazy_load_image_container', function( $content = '', $img_width, $img_height, $atts ) {
    if( $img_width && $img_height ) {
        $content .= sprintf( '<meta itemprop="width" content="%1$d" /><meta itemprop="height" content="%2$d" />', $img_width, $img_height );
    }

    return $content;
}, 10, 4 );

I still have a question

I can help with solving your problem on our forum.

후기

모든 1 평가 읽기

기여자 & 개발자

“SARVAROV Lazy Load”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“SARVAROV Lazy Load”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “SARVAROV Lazy Load”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.0

  • Post thumbnail fix

1.0.9

  • WordPress 5.4.x support
  • Post thumbnail fix

1.0.8

  • Adds loading="lazy" to images & iframes inside <noscript>
  • General performance improvements

1.0.7

  • Use cURL if host has allow_url_fopen set to false
  • Added Russian translation.

1.0.6

  • New option: Completely disable placeholders
  • General performance improvements and bug fixes

1.0.5

  • Posts with no blocks support

1.0.4

  • Critical cache bug fix

1.0.3

  • General performance improvements
  • Better cache method

1.0.2

  • Cache error fix
  • Global stability fix

1.0.1

  • PHP error fix
  • Minify public CSS & JavaScript files

1.0.0

  • Initial release