Home › Forums › Add-ons › Repeater Field › Advanced Custom Repeater Field Page Navigation › Reply To: Advanced Custom Repeater Field Page Navigation
Hi @Elliot,
You mentioned that the back-end pagination for repeater fields could be written with some simple code. Can you please elaborate on that?
Is there any way I could add pagination, in the admin area, for the ACF box?
Ideally, I would like to show ~50 items and then browse through the rest ajax-style or even with a page reload, it doesn’t matter. The fields would be displayed in reverse order, with the new ones at the top.
I tried to edit the repeater file (advanced-custom-fields-pro/pro/fields/repeater.php) by altering the foreach( $field[‘value’] as $i => $row ) loop.
This workaround seemed like a good fix until I tried to update the post, when all the data that isn’t displayed gets erased from the database. The meta key holding the total number of images also gets updated.
Any advice on how I could achieve this kind of functionality?
Thanks a lot!
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.