# How to link wordpress avatars with discourse?

**URL:** <https://meta.discourse.org/t/how-to-link-wordpress-avatars-with-discourse/77255>\
**Category:** WordPress\
**Created:** [4 Enero, 2018 16:46 UTC](https://meta.discourse.org/t/how-to-link-wordpress-avatars-with-discourse/77255 "2018-01-04T16:46:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [4 Enero, 2018 17:48 UTC](https://meta.discourse.org/t/how-to-link-wordpress-avatars-with-discourse/77255/5 "2018-01-04T17:48:50Z")

</div>

> [@Ryan\_Collins1](#):
>
> Where should I put this filter in my discourse forum?

That code needs to be added to your WordPress code, not to Discourse. The easiest place to add it is to your theme’s `functions.php` file. There is some risk in editing your `functions.php` file on a live site. Before you do it you should be sure that you can access you have some way of accessing your theme’s files in case you make a mistake.

---

_[View the full topic](https://meta.discourse.org/t/how-to-link-wordpress-avatars-with-discourse/77255)._
