Support

Account

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!