How to add contents of a custom field to a taxonomy term list?
Replace the_field with get_field. The former echoes data without the need to explicitly call echo on the function name, the latter returns data, which is what you need when storing data against a variable for later use in your function. In your case, concatenating the first/last name prior to its output. That should fix your … Read more