I’m using flexible field to make a custom builder for my client :
One group field called “Page Content” contains one flexible with 10 layouts and many fields inside these layouts. The layouts correspond to my custom builder sections.
As I wanted to allow my client to use the same sections in pages with custom templates, I’ve duplicated the group field called “Page Content” in “Lodge Page Content” (for example) and only changed 2 things : location of course, and min value for certains sections to force the custom design that I have made.
But the problem is that sometimes, it looses some layouts. Just after the duplication, I’m changing all the names of the fields in the new flexible (the keys must be different of course), I save it and oops, my new flexible has lost 3 layouts ^^
I work locally with Wamp and ACF Pro.
My idea to solve the problem is to stop using interface, and duplicate the first group PHP generated code, and change the values in it : change names and keys (field_59fc74d640d25…). But I’m not sure about it.
2022 was a big year for Advanced Custom Fields, with more capabilities, a new generation of ACF Blocks, a refreshed UI, and a new home. Our year in review post looks at advancements we’ve made and offers a glimpse of the future. https://t.co/HahJUCcyH4