How can I fetch anyone’s gravatar image?
I need to show users gravatar image on a custom profile page that am making using news child theme for genesis.
I have so far integrated the option of Facebook Profile Pic (which automatically gets grabbed) and also am allowing user to assign his/her own photo (on wish).
What I need to do is, if person do not comes from FB, then maybe his email or something should be used to see if he/she has a gravatar, if yes then display it. How can I do that?
There are so many possibilities with them so where to begin?
I just googled a few links:
–> seems to come close, what you want to to, I guess
From the WordPress Codex:
http://codex.wordpress.org/Function_Reference/get_avatar —> also important for your template!
I’ll suggest you try learn more how WP does it and what are the template functions.
Hope that helps for the moment.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.