Skip Navigation

[Résolu] Load More Button Still Acting as Infinite Scroll

This support ticket is created Il y a 3 années. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 3 années.

Assisté par: Minesh.

Auteur
Publications
#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:

lien caché

Thanks for any help.

- Aaron

#2226835

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: 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);