Skip Navigation

[Gelöst] Load More Button Still Acting as Infinite Scroll

This support ticket is created vor 2 Jahren, 11 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 2 Jahren, 11 Monaten.

Assistiert von: Minesh.

Author
Artikel
#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:

versteckter Link

Thanks for any help.

- Aaron

#2226835

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: 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);