How to duplicate repeater fields in ACF

We use ACF (Advanced Custom Fields) to build a lot of our page templates. As a WordPress agency, we find the ‘Flexible Content‘ system especially useful to build up pages full of rich, formatted content.

However, when building these modules (or ‘blocks’ 😉 ) we often want to create pages full of all of the different variations. For example, if we build a ‘gallery’ block we might want to test what that block looks like with different numbers of images, different background options, layout styles, etc.

Building these example pages can be very time-consuming, adding an unnecessary cost to project builds.

Cloning ACF flexible content rows

Wouldn’t it be useful if you could create a block once and then clone it to avoid adding all of the content again and again?

I was looking for a solution to this when I found the ACF Duplicate Repeater plugin by Jörn Lund (mcguffin). It does exactly what I need it to do, and works like a charm out of the box. There’s not much else to say, but I thought that a quick demo video would be useful.

About the author

Co-founder and lead front-end developer at Highrise Digital. Keith has a passion for building beautiful, fast and usable websites.