User Avatar | WordPress.org

[ad_1]

Hi @citrus612,

Can you please tell me how can I put a user’s photo in the chat, ignore Gravatar in principle and use only the photo that the user uploaded to the profile or a photo stub, as for the guest?

Actually, I don’t use Gravatar 🙂 I am using whatever WordPress is sending back through the get_avatar_url function ). So basically, if an user uploads its own avatar, that avatar should be used.

If you are using another system/plugin for avatars, you’ll need to hook into that function to make it work (but that’s weird, whatever plugin you use should do that already). Just in case, have a look at this: (not my website)

Thank you so much for your work and such an amazing plugin.

Thanks a lot and don’t hesitate to leave a little review to give me motivation! I already got a lot, super sunny day here in Japan. Happy week-end to you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer