Hi Anh, as far as i can get from now, by editing group-field.php child_field_std() function, i successfully show the array in the field, but i don't understand how to show them in two separate clone. any clue ?
protected static function child_field_std( $parent, $child, $meta ) {
// Respect 'std' value set in child field.
if ( ! empty( $child['std'] ) ) {
return $child['std'];
}
$meta = $parent['std'];
foreach($meta as $k => $v):
$std[$k] = $meta[$k][$child['id']] = $v[$child['id']];
endforeach;
// $meta contains $parent['std'] or clone's std.
//$std = isset( $meta[$child['id']] ) ? $meta[$child['id']] : '';
return $std;
}
thanks for your help,
K