How to get author image outside of loop?


I’ve been reading and testing properties associated to get_the_author_meta, which is working great for me. But is there a way to get an gravatar or avatar or some kind of photo of the author through WordPress OOTB? I would love to get a visual so I call it from my custom author.php template I am building…

I guess my question is a two-part process:

  • How do I set the author image in WordPress
  • How to reference it in code

Many thanks in advance!

, klewis 3 years 2020-04-01T00:55:27-05:00 0 Answers 140 views 0

Leave an answer