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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.