<?php $queried_object = get_queried_object(); $taxonomy = $queried_object->taxonomy; $term_id = $queried_object->term_id; the_field('youracffield', $taxonomy . '_' . $term_id); ?>