Support

Account

Home Forums Add-ons Repeater Field Custom Taxonomy in Repeater Field Reply To: Custom Taxonomy in Repeater Field

  • You have the field set up to return a term object, and I think you need to use get_sub_field(), I’m not sure what this is doing $type = $row['ingredients-INCI-group'];

    
    if( have_rows('ingredients-INCI') ):
     
    	while ( have_rows('ingredients-INCI') ) : $row = the_row();
                    
    		$type = get_sub_field('ingredients-INCI-group');
    		echo "Type: " .  $type->name . " ";
    	
    	endwhile;
    endif;