Support

Account

Home Forums ACF PRO Is it possible to have 2 flexible field groups, but they work like one Reply To: Is it possible to have 2 flexible field groups, but they work like one

  • @floflo91 hm.. couldn’t make it to work.

    I also started from scratch and made a field group with just 2 text fields.

    Made a second field group with the reusable group and called the first one.

    Made 2 tests in the template:

    Test A
    <?php the_field('reusable_field_group_for_text'); ?>
    
    Test B
    <?php
    if( have_rows('reusable_field_group_for_text') ):
    while ( have_rows('reusable_field_group_for_text') ) : the_row();
    echo "TEST";
    endwhile; endif;
    ?>

    TEST A output was and array of both text fields, although i would want to call them separately.
    TEST B code didn’t work so maybe i just don’t know how to call the Reusable field type and it’s contents correctly :/ Even without any repeater/flexible.

    Too bad the plugin docs don’t have any usage code for it.