Home › Forums › Add-ons › Flexible Content Field › ACF Blocks with Flexible Content conflicting › Reply To: ACF Blocks with Flexible Content conflicting
I’m don’t see why you would be having the issue you’re having, but I will suggest a way to optimize your code that could help make it easier to work with.
if (have_rows('sections')) {
while (have_rows('sections')) {
the_row();
get_template_part('template-parts/sections/section', get_row_layout());
}
}
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.