get_avatar_url returns the gravatar, instead of FB pic
-
Damien, awesome work! As soon as my project picks up, you’re project is on top of the list to appreciate! ??
One thing I need help with, though, which looks like a bug, is get_avatar_url, which returns gravatar image instead of Facebook.
Here is the buggy cody:
$author_avatar = get_avatar_url( $author_id ); <img alt="" src="'.$author_avatar.'" class="img-circle avatar avatar-55 " height="55" width="55" style="height:55px;width:55px">
However, the
echo get_avatar(get_the_author_meta( 'id' ))
, works fine and returns the right Facebook profile.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_avatar_url returns the gravatar, instead of FB pic’ is closed to new replies.