Skip Navigation

[Resolved] Create a "Load More" Button

This support ticket is created 6 years, 4 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1069216

I have an Archive page for CTP "Destination". In it, there is a loop that creates a bootstrap grid of destinations (title and image).

I would like that if there are more then X destinations that are to be displayed (let's say X=3) - there will be a "Load More" Button that loads the next 3 destinations, and will keep doing so, till there are no more destination to load.

Whats, the best way to do it using toolset? I can go with the JS approach - but I'm afraid that over time, and on some pages - there will be lots of destinations, and page load time will be slow.

Thanks

#1069396

Hi, we don't currently offer a "Load More" button, the closest thing we have is the Infinite Scroll feature. It's triggered by scroll position. The "Load More" button has been requested in the past but not yet implemented by our developers. If you'd like to add your vote for this feature, feel free to create a new ticket using the "Suggest an improvement" option here in the forums.

More information about Infinite Scroll:
https://toolset.com/documentation/user-guides/infinite-scrolling-in-views/