Support

Account

Home Forums Add-ons Flexible Content Field Can't use add_row for a flexible content row within a repeater field Reply To: Can't use add_row for a flexible content row within a repeater field

  • Thank you for your quick reply but that referred to adding a brand new layout.

    I’m not sure if I explained it correctly, but what we’re trying to do is add a layout that already exists on the back end. We’re not trying to add a brand new layout on the front end. So, layout 1 and layout 2 already have been created in ACF manually.

    We want to be able to then add instances of these flexible content fields from the front end, but currently we can only get it to add 1 instance. Our code isn’t correct for adding more than 1, but the documentation for add_row doesn’t seem to help us when within a repeater field.

    Would appreciate any other ideas.