[wordpress插件] a3 Lazy Loada3延迟加载

wordpress 插件 文章 2020-01-23 09:40 598 0 全屏看文

AI助手支持GPT4.0

评分

86

86

描述

a3 Lazy Load is a Mobile Oriented, very simple to use plugin that will speed up sites page load speed.

a3延迟加载是一个面向移动设备的,非常简单易用的插件,可以加快网站页面的加载速度。

The more content heavy your site the better the plugin will perform and the more you will see the improvements in performance.

您的网站内容越重,插件将执行得越好,您将看到的性能改进也就越多。

See this demo of a page with 1,000 images (yes 1,000 images

请参阅包含1,000张图片(是1,000张图片)的页面的此演示

) to load.

)加载。

a3 Lazy Load is inspired by and powered by the ressio Lazy-Load-xt JavaScript

a3延迟加载受ressio Lazy-Load-xt JavaScript

>.

>。

a3 Lazy Load is the most fully featured, incredibly easy to set up lazy load plugin for WordPress.

a3延迟加载是功能最全,非常容易设置的WordPress延迟加载插件。

Use the plugins admin settings to easily define what elements are lazy loaded and when they become visible in the users browser.

使用插件管理设置可以轻松定义哪些元素是延迟加载的,以及何时在用户浏览器中可见。

As the user scrolls down the page the next lot of elements you have applied lazy Load to are only loaded as they become visible in the view port.

当用户向下滚动页面时,仅当它们在视口中可见时,才加载您应用了惰性加载的下一批元素。

IMAGE LAZY LOAD

图像延迟加载

Images are the number one element that slows page load and increases bandwidth use.

图像是减慢页面加载和增加带宽使用率的第一要素。

From the a3 Lazy Load admin panel turn load images by a3 Lazy Load ON |

从a3延迟加载管理面板中,通过a3延迟加载打开图像。

OFF.

For more flexibility when ON you can choose to ON |

为了在打开时具有更大的灵活性,可以选择

OFF lazy load for images in

关闭图像中的延迟加载

    • Post, Pages and Custom Post Types (All Content areas)
    • 帖子,页面和自定义帖子类型(所有内容区域)

    • Widgets (Sidebar, header and footer)
    • 小部件(侧边栏,页眉和页脚)

    • Apply to post thumbnails
    • 应用于发布缩略图

    • Apply to gravatars
    • 适用于雕刻机

    MORE THAN JUST IMAGES

    不仅仅是图像

    VIDEO LAZY LOAD

    视频延迟加载

    a3 Lazy Load supports all WordPress video Embeds including Youtube, Vimeo and HTML5 video – for a full list see the WordPress Codex

    a3延迟加载支持所有WordPress视频嵌入,包括Youtube,Vimeo和HTML5视频–有关完整列表,请参见 WordPress Codex

    Embeds list.

    嵌入列表。

    The WordPress embed method of copying and pasting the video url into posts and pages content area is fully supported.

    完全支持将视频URL复制并粘贴到帖子和页面内容区域的WordPress嵌入方法。

    Note – Works with Videos added by Text and HTML Widgets but not the new WordPress Video widget.

    注意 –适用于“文本”和“ HTML”小部件添加的视频,但不适用于新的WordPress Video小部件。

    That widget does not pull iframe at first load, it use JavaScript to replace html to iframe and hence a3 lazy Load can’t see it to apply.

    该小部件在首次加载时不会拉动iframe,而是使用JavaScript将html替换为iframe,因此a3延迟加载无法将其应用。

    From the a3 lazy Load admin panel turn Video Support ON |

    从a3延迟加载管理面板中,打开视频支持|

    OFF.

    When ON you can choose to ON |

    开启时,您可以选择开启|

    OFF lazy load for videos in

    关闭视频中的延迟加载

      • Video embeded by URL in Post and Pages (All Content areas)
      • 通过URL嵌入到帖子和页面(所有内容区域)中的视频

      • Video in Widget types, Text Widget and HTML Wigets.
      • 窗口小部件类型,文本窗口小部件和HTML Wigets中的视频。

      • Youtube see demo
      • Youtube 查看演示

      • Video see demo
      • 视频参见演示

      • Fully Compatible with the popular Youtube Embed Plugin
      • 完全与流行的 Youtube嵌入式插件 完全兼容

      iFRAME LAZY LOAD

      iFRAME延迟加载

      a3 Lazy Load has built in support for content that is added by iframe from any source in content and widgets.

      a3惰性加载内置了对iframe从内容和窗口小部件中任何来源添加的内容的支持。

      Examples

      例子

        • WordPress embedded media
        • WordPress嵌入式媒体

        • Facebook Like boxes with profiles, Like buttons, Recommend
        • Facebook带有个人资料的“赞”框,“赞”按钮,推荐

        • Google+ Profile
        • Google+个人资料

        • Google Maps
        • Google地图

        POST EMBED

        发布嵌入

          • Fully compatible with WordPress embed post on any site feature introduced in version WP version 4.4
          • 完全兼容WordPress在WP版本4.4中引入的任何网站功能上嵌入帖子

          • Makes embed post load much faster
          • 使嵌入后的加载速度更快

          WORDPRESS AMP

          WORDPRESS放大器

            • Built in auto support for WordPress AMP plugin
            • 为WordPress AMP插件提供自动支持

            • Built in support for Better AMP plugin
            • 为更好的AMP插件提供支持

            • There are no setting options for exclude /amp – Lazy Load is just never applied to the /amp endpoint
            • 没有排除/ amp的设置选项–延迟加载从未应用到/ amp端点

            • When the url is loaded in browser without /amp Lazy Load is applied
            • 在未应用/ amp延迟加载的情况下将网址加载到浏览器中

            JETPACK SITE ACCELERATOR (Proton)

            JETPACK网站加速器(质子)

            This is an option that you turn on as the Jetpack Accelerator (Proton CDN images) has its own lazy load feature that needs to be OFF first to be able use a3 Lazy Load as your lazy Load engine.

            由于Jetpack加速器(质子CDN图像)具有其自己的延迟加载功能,因此您必须先打开该选项,然后才能将a3延迟加载用作您的延迟加载引擎,首先必须将其关闭。

            Some users prefer to use a3 Lazy Load as it applies Lazy Load to the whole site not just images.

            一些用户更喜欢使用a3延迟加载,因为它将延迟加载应用到整个网站,而不仅仅是图像。

            WebP IMAGES

            WebP图片

            As of a3 Lazy Load has built in automatic support for WebP images.

            从a3开始,Lazy Load内置了对WebP图像的自动支持。

            There are no settings for this as a3 Lazy Load will automatically detect if an image has a WebP version and load that.

            没有任何设置,因为a3延迟加载将自动检测图像是否具有WebP版本并进行加载。

            If no WebP image exists the appropriate jpg or png version will be loaded.

            如果不存在WebP图像,则将加载适当的jpg或png版本。

            Also fully support browser detection of WebP.

            还完全支持WebP的浏览器检测。

            WOOCOMMERCE

            WOOCOMMERCE

            a3 lazy Load is built and tested to be fully compatible with the very widely used WooCommerce plugin

            a3惰性负载已构建并经过测试,可以与非常广泛使用的WooCommerce插件完全兼容

            ADVANCED CUSTOM FIELDS

            高级自定义字段

            Fully compatible with the very popular Advanced Custom Fields plugin, Free and Premium versions.

            与非常流行的Advanced Custom Fields插件完全兼容,免费和高级版本。

            LAZY LOAD EFFECTS

            延迟加载效果

            a3 Lazy Load gives you the option to lazy load images with a FADE IN or SPINNER effect

            a3延迟加载使您可以选择以FADE IN或SPINNER效果延迟加载图像

              PERFORMANCE TWEAKS

              性能检查

              a3 Lazy Load gives you the option to load its script from your sites HEAD or from the FOOT.

              a3延迟加载使您可以选择从站点HEAD或FOOT加载其脚本。

                • Note that your theme must have the wp_footer() function if you select FOOTER load.
                • 请注意,如果您选择FOOTER load,则主题必须具有wp_footer()函数。

                • Note the plugin CSS is always loaded from the HEAD.
                • 请注意,插件CSS始终是从HEAD加载的。

                EXCLUDE IMAGES & VIDEO

                排除图像和视频

                a3 Lazy Load allows you to easily exclude any image or video by class name from having the Lazy Load effect applied.

                a3延迟加载允许您通过应用延迟加载效果轻松地按类名排除任何图像或视频。

                See FAQ’s

                参见常见问题解答

                JAVASCIPT DISABLED FALLBACK

                JAVASCIPT禁用的回退

                a3 Lazy Load has built in Noscript fallback if user has JavaScript turned off in their browser.

                如果用户在浏览器中关闭了JavaScript,则

                a3惰性加载会内置Noscript后备功能。

                Developers who use underscore.js in their applications can use the Noscript parameter to exclude their plugins content from Lazy Load.

                在其应用程序中使用underscore.js的开发人员可以使用Noscript参数从Lazy Load中排除其插件内容。

                THEME & PLUGIN COMPATIBILITY

                主题和插件兼容性

                a3 Lazy Load works with any WordPress theme that follows the WordPress Theme Codex.

                a3延迟加载可与遵循WordPress主题法典的任何WordPress主题一起使用。

                However, many Theme & Plugin developers will use a custom written function to add objects, example the theme has a home page with layout created by a custom function they have written.

                但是,许多主题和插件开发人员将使用自定义的编写函数来添加对象,例如,主题具有主页的布局由其编写的自定义函数创建。

                a3 Lazy Load cannot know what these functions are and so cannot apply to the objects loaded by that custom function.

                a3延迟加载无法知道这些函数是什么,因此无法应用于该自定义函数加载的对象。

                If your images or objects not being Lazy Loaded in a certain section of your site, but are Lazy Loaded everywhere else you will know this is the cause.

                如果您的图像或对象不是在网站的特定区域中被延迟加载,而是在其他任何地方都被延迟加载,则您将知道原因。

                Please if this happens raise a support ticket with the developer, explaining that they just need to add a simple tag to their custom functions so that a3 Lazy Load apply to their custom function and be fully compatible.

                如果发生这种情况,请向开发人员索取支持票,解释说他们只需要在其自定义功能中添加一个简单标签,即可将a3 Lazy Load应用于其自定义功能并完全兼容。

                Here is a list of a3 lazy Load filter tags to include in your ticket to make it easy

                此处是a3延迟加载过滤器标签的列表,可轻松添加到您的故障单中

                for the developer.

                对于开发人员。

                Don’t forget when a developer does add full compatibility with a3 Lazy Load please let us know via a support ticket on this forum and we will add them to the list below.

                请不要忘记开发人员何时确实添加了与a3 Lazy Load的完全兼容性,请通过此论坛上的支持通知单告知我们,我们会将它们添加到下面的列表中。

                These are just some of the more popular plugins that are either tested 100% compatible with a3 Lazy Load or tags has been added for 100% compatibility.

                这些只是一些比较流行的插件,这些插件经过测试可与a3 Lazy Load进行100%兼容性,或者已添加标签以实现100%兼容性。

                  • Plugin – Advanced Custom Fields
                  • 插件-高级自定义字段

                  • Plugin – WooCommerce
                  • 插件– WooCommerce

                  • Plugin – WP Offload
                  • 插件– WP卸载

                  • Plugin – WP Super Cache and W3 Total Cache plugins
                  • 插件– WP Super Cache和W3 Total Cache插件

                  • Plugin – Youtube Embed
                  • 插件– YouTube嵌入

                  • Plugin – WordPress AMP
                  • 插件– WordPress AMP

                  • Plugin – WPTouch.

                  • 插件-WPTouch。

                    Note – Set to not apply on Mobiles if WPTouch is installed

                  • 注意–如果已安装WPTouch,则设置为不适用于手机

                  • Plugin – MobilePress – Set to not apply on Mobiles if MobilePress is installed
                  • 插件– MobilePress –设置为如果安装了MobilePress则不适用于手机

                  • WebP Plugins – Smush, EWWW Image Optimizer, Imagify, WebP Express
                  • WebP插件– Smush,EWWW图像优化器,Imagify,WebP Express

                  • Plugins – Will not conflict with any plugin that has lazy load built in
                  • 插件–不会与任何内置延迟加载的插件发生冲突

                  • CDN’s – JetPack Accelerator, Cloudfront, Cloudflare and all other known CDN architecture.
                  • CDN – JetPack加速器,Cloudfront,Cloudflare和所有其他已知的CDN架构。

                  MORE FEATURES

                  更多功能

                    • Full support of jQueryMobile framework
                    • 完全支持jQueryMobile框架

                    • WordPress Multi site ready.
                    • WordPress多站点就绪。

                    • Backend support for RTL display.
                    • 后端支持RTL显示。

                    • Translation ready
                    • 准备翻译

                    JOIN THE a3 LAZY LOAD COMMUNITY

                    加入a3延迟加载社区

                    When you download a3 lazy Load, you join our community.

                    当您下载a3 lazy Load时,您将加入我们的社区。

                    Regardless of if you are a WordPress newbie or experienced developer if you are interested in contributing to a3 Lazy Load development head over to the a3 Lazy Load GitHub Repository to find out how you can contribute.

                    nofollow“> a3延迟加载GitHub存储库,了解您如何做出贡献。

                    Want to add a new language to a3 Lazy Load?

                    是否要向a3延迟加载添加新语言?

                    Great!

                    大!

                    You can contribute via translate.wordpress.org

                    您可以通过 translate.wordpress.org 进行贡献

                    USAGE

                    用法

                      1. Install and activate the plugin
                      2. 安装并激活插件

                      3. Open WordPress Settings menu
                      4. 打开WordPress设置菜单

                      5. Click on a3 Lazy Load menu
                      6. 点击a3延迟加载菜单

                      7. Turn ON Lazy Load and all preferred settings
                      8. 打开延迟加载和所有首选设置

                      9. Save Changes and enjoy the improved performance Lazy Load will give your site
                      10. 保存更改并享受改进的性能,延迟加载将为您的网站

安装步骤

Minimum Requirements

最低要求

    • WordPress 4.9 or greater
    • WordPress 4.9或更高版本

    • PHP version 7.0.0 or greater
    • PHP 7.0.0或更高版本

    • MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
    • MySQL 5.6或更高版本或MariaDB 10.0或更高版本

下载地址

https://downloads.wordpress.org/plugin/a3-lazy-load.2.1.0.zip

https://downloads.wordpress.org/plugin/a3-lazy-load.2.1.0.zip

-EOF-

AI助手支持GPT4.0