Home › Forums › Front-end Issues › Show ACF group outcome on the php template › Reply To: Show ACF group outcome on the php template
The forum layout error has been fixed; supposedly it was some unclosed code tag or something like that.
Anyway, this is what I mean:
<?php while ( have_rows('belasting_laag', $product_id) ) : the_row(); ?>
<?php if (get_sub_field('prijs',$product_id)): ?>
<li>
<?php the_sub_field('prijs',$product_id); ?>
</li>
<?php endif; ?>
<?php endwhile; ?>
Does that change anything?
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.