Support

Account

Home Forums Add-ons Repeater Field Advanced Custom Repeater Field Page Navigation Reply To: Advanced Custom Repeater Field Page Navigation

  • I just wanted to say thanks to Elliot and Twansparent. Your contributions to this thread helped me implement pagination for a Repeater.

    I’ve written up my solution on my blog:

    http://f6design.com/journal/2014/03/06/paginating-an-advanced-custom-fields-repeater/

    It’s similar to the code Twansparent posted in this thread, but leverages WordPress’ native pagination permalink structure (e.g. /gallery/page/2), so there is no need to do any custom URL rewriting. My pagination is different too, in that it generates pagination links identical to those created by WordPress’ paginate_links function, e.g.

    << Previous 1 … 4 5 6 7 8 … 23 Next >>

    Hope that’s helpful to someone.