Home › Forums › Add-ons › Gallery Field › Gallery ajax load more › Reply To: Gallery ajax load more
It is was me I would likely build something myself using jQuery and AJAX and either have a button to show more or build my own infinite scroll for it. I don’t have any examples or I would share them. I don’t generally work with gallery fields and there are several pieces that all need to work together to build something, probably would be a couple of hours work.
I do have an old example of a load more for a repeater that uses a button https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/repeater-ajax-load-more, the principle is the same. The only difference with infinite scroll is that you need to detect when the page is scrolled far enough to trigger the request instead of using the link.
Don’t thank me for the plugin, I’m just another developer like you that uses ACF for nearly everything I do and I could not do what I do without it either.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re working hard on Advanced Custom Fields PRO 6.0, and Beta 1 is now available 🚀
— Advanced Custom Fields (@wp_acf) August 12, 2022
Featuring improved performance for Repeater fields with large datasets, and a new generation of ACF Blocks.
Let’s take a look 🧵https://t.co/Befre3kFAo
© 2022 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.