Home Forums Add-ons Repeater Field Repeater data does not appear Reply To: Repeater data does not appear

  • Hi @amandadiaspais

    I believe that’s because the repeater you were trying to get is located inside another repeater. So you should do it like this:

    <?php if ( have_rows('phases') ):
    	while ( have_rows('phases') ): the_row(); ?>
            <?php if ( have_rows('follow_up') ):
                while ( have_rows('follow_up') ): the_row(); ?>
            <?php $date = DateTime::createFromFormat('Ymd', get_sub_field('data_de_atualização'));
                echo $date->format('d/m/Y'); ?>
            <?php the_sub_field('n_do_processo'); ?>
            <?php the_sub_field('unidade'); ?>
            <?php $date = DateTime::createFromFormat('Ymd', get_sub_field('desde'));
                echo $date->format('d/m/Y'); ?>
            <?php the_sub_field('situacao'); ?>
            <?php the_sub_field('detalhamento_kallas'); ?>
            <?php endwhile;
                endif; ?>
    <?php endwhile;
    endif; ?>

    This page should give you more idea about it:

    Also, it seems there’s something wrong with your custom field options because I got a lot of warning when I use it. Could you please make sure that you have the correct code?

    I hope this helps 🙂