I’ve created a custom post type ‘movies’ and custom taxonomy ‘scategory’ for posts. Now in template, when i trying to get selected trems by get_field()
it’s not retrieving field values.
To get the values from the associated terms you need to supply the term when using get field.
$terms = get_field('tax_field_name');
foreach ($terms as $term) {
$value = get_field('field_from_term_name', $term);
}