Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Lazy Load for Comments

Lazy load default WordPress commenting system on scroll or click. Improve page speed.

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.
  • 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

Author Joel James
Profile
Contributors joelcj91, duckdev
Tags comments, conditional comments, lazy comments, lazy load, lazyload comments, lazyload wordpress comments
  1. lazy-load-for-comments screenshot 1

    Settings - Select lazy load method.

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

1.0.2 (08/02/2017)

  • Added custom filters.
  • Added loader while comments are being loaded.
  • Disabled lazy load for Search Engine crawlers.
  • Scroll to comment if #comment id found in url.
  • 100% translation ready.

1.0.0.1 (19/11/2016)

  • Bug fix on PHP v5.3 - Parse error.

1.0.0 (18/11/2016)

  • First version.

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>';
});

I need more details

Please open a support request.

Other Notes

Bug Reports

Bug reports are always welcome. Report here.

Share  
Download
Version 1.0.2

Requires WordPress version: 4.0 or higher

Compatible up to: 4.7.2

Last Updated 08 Feb 2017

Date Added: 17 Nov 2016

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
4 ratings
697 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0