Hi Eliot,
Thank you for taking the time to help me with my problem
I tried what you suggested, iremoved the global $post and for both variables, author_badge and author_id
Both returned empty or blank.
I then did a var_dump on them
and for author_id the result was string(0) “”
and for author_badge the result was bool(false)
I use the same code on a static template outside the loop and it works as expected.
Is it because Im in the wp loop of trying to access acf custom user data?