Skip Navigation

[Resolved] Load More Button Still Acting as Infinite Scroll

This support ticket is created 2 years, 5 months ago. 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.

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)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 2 years, 5 months ago.

Assisted by: Minesh.

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

hidden link

Thanks for any help.

- Aaron

#2226835

Minesh
Supporter

Languages: English (English )

Timezone: 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);
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.