# WordPress widget?

**URL:** https://meta.discourse.org/t/wordpress-widget/154921
**Category:** WordPress
**Created:** [June 15, 2020, 6:47pm UTC](https://meta.discourse.org/t/wordpress-widget/154921 "2020-06-15T18:47:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Memberful-Lauren](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/memberful-lauren/32/119675_2.png) [@Memberful-Lauren](https://meta.discourse.org/u/Memberful-Lauren)
#### Post date: [June 15, 2020, 6:47pm UTC](https://meta.discourse.org/t/wordpress-widget/154921/1 "2020-06-15T18:47:59Z")

</div>

Hiya!

Is there a way to add a Discourse widget to a WordPress kind of like this Discord widget?

> **[Discord Blog](https://discord.com/blog)**
>
> Discover the latest news and app updates, stories, company insights, and plenty more about Discord, all in one place.

Basically a visual cue so that website visitors can head over to the Discourse forum. For all my Googling, I’m guessing it’s a no. : 0 (

---

<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: [June 15, 2020, 7:06pm UTC](https://meta.discourse.org/t/wordpress-widget/154921/2 "2020-06-15T19:06:40Z")

</div>

Any data that Discourse makes available through its API or Webhooks could be displayed on an external site. The Discord widget that you’ve linked to is displaying data about how many users are online. I’m not sure if it would be possible to get that information from the Discourse API. It might be possible to use User Event or Post Event webhooks to get data about recent user activity on the site though.

Is your WordPress site connected to Discourse with the [WP Discourse](https://github.com/discourse/wp-discourse) plugin? That plugin could be extended to create a widget similar to what you are looking for, but possibly not with the exact same type of data that you’re seeing on the Discord widget.

---

<div class="post-metadata">

### Author: ![Memberful-Lauren](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/memberful-lauren/32/119675_2.png) [@Memberful-Lauren](https://meta.discourse.org/u/Memberful-Lauren)
#### Post date: [June 15, 2020, 7:18pm UTC](https://meta.discourse.org/t/wordpress-widget/154921/3 "2020-06-15T19:18:17Z")

</div>

Thanks, Simon! I’m trying to find a solution for a Memberful customer who wants to link to their members-only Discourse forum from their WordPress site. The customer is not a developer so I don’t think what you’re suggesting is something she’d be able to do.

---

<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: [June 15, 2020, 7:30pm UTC](https://meta.discourse.org/t/wordpress-widget/154921/4 "2020-06-15T19:30:00Z")

</div>

> [@Memberful-Lauren](#):
>
> The customer is not a developer so I don’t think what you’re suggesting is something she’d be able to do.

I’m wondering if this is something that would be a useful addition to the [WP Discourse plugin](https://wordpress.org/plugins/wp-discourse/) (or to a plugin that extends the [WP Discourse](https://github.com/discourse/wp-discourse) plugin.) I’ll give it some more thought and see if I can come up with something.

Currently, the [WP Discourse](https://github.com/discourse/wp-discourse) plugin can be used to publish posts from WordPress to Discourse. Underneath each WordPress post that gets published to Discourse, either a link to the Discourse topic, or a selection of comments and a link can be displayed. Possibly this would be useful for your customer.

---

<div class="post-metadata">

### Author: ![Memberful-Lauren](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/memberful-lauren/32/119675_2.png) [@Memberful-Lauren](https://meta.discourse.org/u/Memberful-Lauren)
#### Post date: [June 15, 2020, 9:10pm UTC](https://meta.discourse.org/t/wordpress-widget/154921/5 "2020-06-15T21:10:47Z")

</div>

Thanks, Simon! I think it would be a great addition — especially for Memberful customers. 😃

The other functionality you mentioned is not what our customer had in mind.

---

<div class="post-metadata">

### Author: ![JayW](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@JayW](https://meta.discourse.org/u/JayW)
#### Post date: [October 7, 2020, 7:11am UTC](https://meta.discourse.org/t/wordpress-widget/154921/6 "2020-10-07T07:11:16Z")

</div>

any updates on this?  
it’d be great and _tremendously_ useful if the [WP Discourse](https://github.com/discourse/wp-discourse) plugin can have deeper integration with wordpress and be able to display more discourse/forum info on pages crested by wp.
