Home › Forums › Add-ons › Repeater Field › "Load more" for repeater field › Reply To: "Load more" for repeater field
Hi @mariol
It’s not really an issue of ACF but rather general PHP and JS in your theme.
Simplest solution would be to initially show only 10 and hide all other. Then use JS so that when one clicks the load more button you show the next 10.
A more advanced and sophisticated solution would be to just load the first 10 and use AJAX to load the next 10 with each click.
In any case this goes outside of support for ACF I’m afraid and it’s too much work to give you whole code snippets.
Hopefully you can build something on your own with the suggestion I’ve given 🙂
Best of luck!
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.