I’m trying to display all my authors/users in a custom page template. I’m using the following code to display their profile photos that grab from an acf image field called author_header. I put the users in an unordered lists by the following.
The problem I’m facing is that all the users get my profile photo. I want to be able to just grab the ones that they uploaded to the author_header field. I do have all of their names correctly displaying in the unordered list by the following. <h2 class="authorName">[ <?php echo $user->display_name; ?> ]</h2>. Thank you!