Skip Navigation

[Resuelto] Load More Button Still Acting as Infinite Scroll

This support ticket is created hace 3 años. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 3 años.

Asistido por: Minesh.

Autor
Mensajes
#2226089

I am trying to switch from an infinite scroll to a "load more" button because on the mobile browser the user can never view the secondary container. I have tried following the instructions on this thread:

https://toolset.com/forums/topic/load-more-button-3/

Basically, I have changed the infinite scroll duration to -500 and added a next button. However, it still automatically loads the content. Here is an example page:

enlace oculto

Thanks for any help.

- Aaron

#2226835

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please try to add the following custom JS code to your view's custom JS box and check if that help you to resolve your issue.

(function ($) {
    $(document).ready(function () {
  
        $('.js-wpv-layout-infinite-scrolling').removeClass('js-wpv-layout-infinite-scrolling');
  
    });
})(jQuery);