Home › Forums › Add-ons › Gallery Field › "Infinite scroll" for an ACF Gallery page? › Reply To: "Infinite scroll" for an ACF Gallery page?
I don’t know if such a thing exists. What you need is a plugin that will do the infinite scroll and allow you to choose a custom template for outputting the results.
Short of that you’d need to write your own script to detect when the user scrolls near the bottom of the page an make an AJAX call to get the next results. The best information on using AJAX in WP can be found here https://codex.wordpress.org/AJAX_in_Plugins
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 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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.