use ACF get_the_field instead of the_field