# Wordpress avatars from Discourse when Discourse is the SSO provider

**URL:** <https://meta.discourse.org/t/wordpress-avatars-from-discourse-when-discourse-is-the-sso-provider/273669>\
**Category:** WordPress\
**Created:** [August 2, 2023, 3:15pm UTC](https://meta.discourse.org/t/wordpress-avatars-from-discourse-when-discourse-is-the-sso-provider/273669 "2023-08-02T15:15:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![uffehe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/uffehe/32/208266_2.png) [@uffehe](https://meta.discourse.org/u/uffehe)\
**Post date:** [August 2, 2023, 3:15pm UTC](https://meta.discourse.org/t/wordpress-avatars-from-discourse-when-discourse-is-the-sso-provider/273669/1 "2023-08-02T15:15:37Z")

</div>

I have Wordpress with Discourse setup where Discourse is the [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) provider for WP. I’m using the [WP Discourse](https://github.com/discourse/wp-discourse) plugin and it’s working great so far. The only issue I have encountered so far is that I can’t get the avatar images from Discourse to display in WP.

I have tried to implement the solution in [Could you update user avatar for wordpress plugin sso? - #2 by angus](https://meta.discourse.org/t/could-you-update-user-avatar-for-wordpress-plugin-sso/204517/2) - adding the code to my WP site’s function.php file. But it’s not working for me - I don’t know what code to add to set the avatar.

I’m wondering if anyone has gotten this to work? I’m using the Simple Local Avatar plugin, but I’m happy to change it if anyone has been successful with another plugin.

---

_[View the full topic](https://meta.discourse.org/t/wordpress-avatars-from-discourse-when-discourse-is-the-sso-provider/273669)._
