Home › Forums › Front-end Issues › Newly Created Layout Does Not Show When Published › Reply To: Newly Created Layout Does Not Show When Published
Hi John,
Thank you so much for your reply!
This is the closest thing I can find:
<?php if( have_rows('rows') ) : ?>
<?php while ( have_rows('rows') ) : the_row(); ?>
<?php get_template_part( 'blocks/content_rows/' . get_row_layout() ) ?>
<?php endwhile ?>
<?php endif ?>
This is from the page template in the theme files, I can confirm that it’s the correct template. It seems it is merely pulling the rows field, without referencing subfields, could that be? Or is there some more code somewhere else?
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.