Lazy Load for Comments

Descripción

Carga diferida del sistema de comentarios por defecto de WordPress sin configuraciones complejas. Deshazte de peticiones HTTP indeseadas y recupera la velocidad de tu página.

Lazy Load for Comments – Features & Advantages

  • Cargar comentarios solo cuando sea necesario.
  • Mejora la velocidad de carga de la página.
  • Reduce el número de peticiones HTTP
  • Carga diferida de gravatares de comentarios.
  • Compatible con Genesis.
  • Compatible con Divi
  • ¡Traducción disponible!
  • Sin configuraciones complicadas (solo hay que realizar un ajuste).
  • Amigable para desarrolladores (hay ganchos disponibles para modificaciones).
  • Sigue los mejores estándar de programación para WordPress.
  • Por supuesto. Está disponible en GitHub

Installation | Screenshots

Informes de errores

Bug reports are always welcome. Report here.

Capturas de pantalla

  • Settings – Select lazy load method.

Instalación

Instalación del plugin – Sencilla

  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. Activa el plugin
  4. Ve a los ajustes de comentarios.
  5. Selecciona el método de carga diferida (desplazamiento o clic).

¿Necesitas ayuda?

Feel free to open a support request.

¿Echas en falta algo?

If you would like to have an additional feature for this plugin, let me know

FAQ

¿Para qué se usa este plugin?

El nombre del plugin ya lo dice todo. Este plugin evita que se carguen automáticamente los comentarios cuando se carga una entrada/página. En su lugar, este plugin hará carga diferida de los comentarios cuando el usuario haga desplazamiento hacia abajo de la sección de comentarios o haga clic en el botón de mostrar los comentarios.

No necesito una imagen gif de carga, ¿puedo desactivarla?

¡Sí, puedes!. Simplemente agrega la siguiente línea al archivo functions.php de tu tema o a un plugin personalizado.

add_filter( 'llc_enable_loader_element', '__return_false' );

¿Cómo puedo cambiar el texto del botón?

Simplemente agrega la siguiente línea al archivo functions.php de tu tema o a un plugin personalizado.

add_filter( 'llc_button_text', function () {
    return 'My Custom Button Text';
});

¿Cómo puedo agregar una clase personalizada al botón?

Agrega la siguiente línea al archivo functions.php de tu tema o a un plugin personalizado.

add_filter( 'llc_button_class', function () {
    return 'custom-class-1 custom-class-2';
});

¿Puedo usar otra cosa en vez de la imagen de carga?

¡Sí! ¡También hay un filtro para esto! Agrega la siguiente línea al archivo functions.php de tu tema o a un plugin personalizado.

add_filter( 'llc_loader_element_content', function () {
    // Use any html element.
    return '<p class="custom-loader">Loading... Please wait.</p>';
});

¿Cómo establecer la carga diferida a partir de un número específico de comentarios?

Simplemente, puedes utilizar el filtro debajo para establecer el número mínimo de comentarios para carga diferida.

add_filter( 'llc_can_lazy_load_minimum_count', function () {
    // Lazy load only if there are 10 or more comments.
    return 10;
});

Necesito más detalles

Please open a support request.

Reseñas

8 de Febrero de 2022
It breaks the Moderation notice. The user just gets sent back to the main page and they don’t know if their comment submitted or not. In my analytics, it states that there is a javascript error, so that needs to be fixed. It also breaks the built in discussion settings of breaking the comments into groups, and the feature of clicking “next” to get the next batch Other than that it works. Simple plugin without options.
27 de Septiembre de 2021
Great plugin, works fine. I just hope it always gets updated. Keep up the great work!
22 de Marzo de 2021
Congratulations and thank you very much for this wonderful plugin, my website has a lot of comments, several times the vps cpu reached 100% of use on the pages with many comments, this plugin is wonderful, excellent.
Leer los 28 comentarios

Colaboradores & Desarrolladores

“Lazy Load for Comments” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Lazy Load for Comments” ha sido traducido en 6 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “Lazy Load for Comments” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

1.0.10 (24/07/2019)

  • 📦 Added support for Divi.

1.0.9 (16/03/2019)

  • 🐛 Fixed issues with scroll load in Woo reviews.

1.0.8 (14/03/2019)

  • 📦 Added Woo reviews support.

1.0.7 (14/03/2019)

  • 🐛 Fixed issues with WP 5.1.
  • 🐛 Fixed issues with Woo reviews.

1.0.6 (27/01/2019)

  • 📦 Added Genesis support.

1.0.5 (19/01/2019)

  • 📦 Added new filter to set minimum no. of comments to lazy load.
  • 👌 Lazy load only when there are comments.
  • 🐛 Fixed empty comments when comments are closed.

1.0.4 (22/12/2018)

  • 👌 Removed nonce (nonce is not required for frontend get requests.).
  • 👌 Changed to GET ajax request.
  • 🐛 Fixed comments respond link.

1.0.3 (03/04/2017)

  • Fixed wrong value return in bot checking function.

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% listo para la traducción.

1.0.0.1 (19/11/2016)

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

1.0.0 (18/11/2016)

  • First version.