Linux 软件免费装
Banner图

Lazy Load for Comments

开发者 joelcj91
duckdev
更新时间 2022年2月10日 00:03
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 5.9
版权: GPLv2 or later
版权网址: 版权信息

标签

comments lazy load lazy comments conditional comments lazyload comments lazyload wordpress comments

下载

1.0.0 1.0.0.1 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9

详情介绍:

Lazy load WordPress default commenting system without any complex configurations. Get rid of unwanted HTTP requests and get your page speed back.
Lazy Load for Comments - Features & Advantages
  • Load comments only when required.
  • Improve page loading speed.
  • Reduce no. of HTTP requests!
  • Lazy loading comments gravaters.
  • Genesis support.
  • Divi support.
  • Translation ready!
  • No complex configurations (Just one setting).
  • Developer friendly (Hooks available for altering).
  • Follows best WordPress coding standards.
  • Of course, available on GitHub
Installation | Screenshots

安装:

Installing the plugin - Simple
  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Lazy Load for Comments and click "Install now"
  2. Alternatively, download the plugin and upload the contents of lazy-load-for-comments.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin
  4. Go to Discussion settings.
  5. Select the lazy load method (Scroll or Click).
Need more help? Feel free to open a support request. Missing something? If you would like to have an additional feature for this plugin, let me know

屏幕截图:

  • **Settings** - Select lazy load method.

升级注意事项:

1.0.10 (24/07/2019)
  • 📦 Added support for Divi.

其他记录:

Bug Reports Bug reports are always welcome. Report here.

常见问题:

What is the use of this plugin?

Plugin name says everything. This plugin prevents the comments from loading automatically when page/post is loaded. Instead, this plugin will lazy load the comments when user scroll down to comments section or clicking on comment button.

I don't need loader gif image, can I disable it?

Yes, you can!. Just add following line to your theme's functions.php or in your custom plugin. add_filter( 'llc_enable_loader_element', '__return_false' );

How can I change the button text?

Just add following line to your theme's functions.php or in your custom plugin. add_filter( 'llc_button_text', function () { return 'My Custom Button Text'; });

How can I add a custom class to the button?

Add following line to your theme's functions.php or in your custom plugin. add_filter( 'llc_button_class', function () { return 'custom-class-1 custom-class-2'; });

Can I use something else instead of loader image?

Yes! There is a filter for this too! Add following line to your theme's functions.php or in your custom plugin. add_filter( 'llc_loader_element_content', function () { // Use any html element. return '<p class="custom-loader">Loading... Please wait.</p>'; });

How to lazy load only only when there specific (or more) no. of comments?

You can simply use below filter to set the minimum no. of comments to lazy load. add_filter( 'llc_can_lazy_load_minimum_count', function () { // Lazy load only if there are 10 or more comments. return 10; });

I need more details

Please open a support request.

更新日志:

1.0.10 (24/07/2019) 1.0.9 (16/03/2019) 1.0.8 (14/03/2019) 1.0.7 (14/03/2019) 1.0.6 (27/01/2019) 1.0.5 (19/01/2019) 1.0.4 (22/12/2018) 1.0.3 (03/04/2017) 1.0.2 (08/02/2017) 1.0.0.1 (19/11/2016) 1.0.0 (18/11/2016)