Support

Account

Home Forums ACF PRO Multiple Taxonomies in a Repeater? Reply To: Multiple Taxonomies in a Repeater?

  • With one small addition it worked:

    if (have_rows('repeater_field')) {
      while (have_rows('repeater_field')) {
        the_row();
        $name = get_sub_field('name_field');
        $title = get_sub_field('title_field');
        echo $name->name,': ',$title[0]->name;
      }
    }

    Each name may have multiple titles, so would there have to be another loop within to get all of those?