Home › Forums › General Issues › Looping through a group with a nested repeater › Reply To: Looping through a group with a nested repeater
Your opening of the main while loop where your comment is “the loop that refuses to go anywhere”, when you’re moving it, are you also moving its closing statements? That should go after your opening:
if ( have_posts() ) : while (have_posts()) : the_post();
However, if you’re doing this but not also moving one of your endwhiles to in front of the closing endif then it would cause problems. I would check your endwhile and your endif statements and make sure they’re all lining up with the if and while statements.
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!
❓Ever wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.— Advanced Custom Fields (@wp_acf) February 23, 2023
© 2023 Advanced Custom Fields.