Support

Account

Home Forums Add-ons Repeater Field Advanced Custom Repeater field not showing

Helping

Advanced Custom Repeater field not showing

  • My Repeater field is not showing anyone can help me, please.
    This is my Code
    <?php

    // check if the repeater field has rows of data
    if( have_rows(‘repeater_field_name’) ):

    // loop through the rows of data
    while ( have_rows(‘repeater_field_name’) ) : the_row();

    // display a sub field value
    the_sub_field(‘sub_field_name’);

    endwhile;

    else :

    // no rows found

    endif;

    ?>

    Everest Base Camp Trek

  • Have you had any luck? I’m experiencing the exact same thing. Strangest part yet, it’s only one repeater on the same page. The rest are working.

    <?php if ( have_rows( 'test_test' ) ) : ?>
    	<?php while ( have_rows( 'test_test' ) ) : the_row(); ?>
    		<?php the_sub_field( 'test_test_a' ); ?>
    		<?php the_sub_field( 'test_test_b' ); ?>
    		<?php the_sub_field( 'test_test_c' ); ?>
    		<?php the_sub_field( 'test_test_d' ); ?>
    	<?php endwhile; ?>
    <?php else : ?>
    	<?php // no rows found ?>
    <?php endif; ?>
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.