Home › Forums › Add-ons › Flexible Content Field › Flexible Content Fields Not Displaying › Reply To: Flexible Content Fields Not Displaying
Hi @levdev
It seems you were using the wrong name:
<?php if( have_rows('content-section') ): ?>
<?php while ( have_rows('content-section') ) : the_row(); ?>
Could you please change it to the following one?
<?php if( have_rows('content_section') ): ?>
<?php while ( have_rows('content_section') ) : the_row(); ?>
Please notice the underscore (content-section
and content_section
).
I hope this helps 🙂
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.