# Wordpress plugin receives avatar URL with HTTP protocol if site uses HTTPS and no CDN

**URL:** https://meta.discourse.org/t/wordpress-plugin-receives-avatar-url-with-http-protocol-if-site-uses-https-and-no-cdn/58605
**Category:** Support
**Created:** [March 8, 2017, 1:09am UTC](https://meta.discourse.org/t/wordpress-plugin-receives-avatar-url-with-http-protocol-if-site-uses-https-and-no-cdn/58605 "2017-03-08T01:09:48Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [March 8, 2017, 4:49am UTC](https://meta.discourse.org/t/wordpress-plugin-receives-avatar-url-with-http-protocol-if-site-uses-https-and-no-cdn/58605/6 "2017-03-08T04:49:30Z")

</div>

A quick and easy solution would be to customize the template functions in wp-discourse so that avatars are not displayed on your website.

Look at the section ‘An example that removes the avatar image from the comments\_html template’ and ‘An example that removes the ‘participants’ section’:  
[Customize the structure of WP Discourse templates](https://meta.discourse.org/t/wp-discourse-template-customization/50754)

---

_[View the full topic](https://meta.discourse.org/t/wordpress-plugin-receives-avatar-url-with-http-protocol-if-site-uses-https-and-no-cdn/58605)._
