Tagged: author image
Hi,
In WordPress Discussion Settings, I have the “Avatar Display” unchecked. I have it this way because when it’s checked, the avatars are displayed for all the comments on a post. I have a lot of comments and all of those images are pulled from an external source which slows down the page speed score on Google Page Speed. Unfortunately, this also prevents an image from loading on the Author Archive Pages.
Is there an easy way to get Enfold to pull that author image from another source, like a url on my site?
Thanks so much for the help!
Kyle
Hey kls1138!
Open up /enfold/includes/loop-about-author.php and change line 11 from this.
$gravatar = get_avatar($email, '81', '', $gravatar_alt);
To this.
$gravatar = '<img src = "URL" />';
Cheers!
Elliott