# Wordpress Discourse Widgets Plugin Not Working

**URL:** https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687
**Category:** WordPress
**Created:** [October 28, 2018, 4:40pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687 "2018-10-28T16:40:54Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jidetheblogger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidetheblogger/32/73213_2.png) [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)
#### Post date: [October 28, 2018, 4:40pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/1 "2018-10-28T16:40:54Z")

</div>

The WordPress Discourse Widgets plugin is not working.

Can anyone here suggest a way of fixing it, maybe by editing it’s files ?

> **[Discourse Widgets](https://wordpress.org/plugins/widgets-for-discourse/)**
>
> This plugins aims to provides widgets that make your discourse forum more visible in your wordpress website.

---

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [October 28, 2018, 9:58pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/2 "2018-10-28T21:58:59Z")

</div>

Not sure why that one is no longer working, but you may want to try this one instead:

> [@Wp-discourse-shortcodes plugin](https://meta.discourse.org/t/wp-discourse-shortcodes-plugin/48910):
>
> This is a simple plugin that extends the wp-discourse plugin by adding shortcodes for creating links from WordPress to your Discourse forum. It adds shortcodes for [discourse\_link] , for creating a login link to a specific endpoint on your forum, [discourse\_topic] for beginning a pre-filled topic, and [discourse\_message] for beginning a private message. See the plugin’s readme for more details. This plugin is only lightly tested, so let me know if you run into problems with it. [https://github.…](https://github.com/scossar/wp-discourse-shortcodes)

It’s created by @simon who is on the Discourse team and made the official [WP Discourse](https://github.com/discourse/wp-discourse) plugin. In other words, more actively maintained / supported and likely to continue working for the long run!

---

<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: [October 28, 2018, 10:25pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/3 "2018-10-28T22:25:25Z")

</div>

> [@bts](#):
>
> In other words, more actively maintained / supported and likely to continue working for the long run!

A year ago, before I started working for Discourse, I did quite a lot of work on the plugin’s `discourse_topics` shortcode. I’m quite happy with the way it works. As far as I know, that is the shorcode that people are using. I’m unsure about the current state of the `discourse_groups` and `discourse_prefilled_message` shortcodes. I’ll take a look at them as soon as possible.

The topic that you linked to is very out of date. I’ll clean it up this week.

---

<div class="post-metadata">

### Author: ![Sruly\_Markowitz](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@Sruly\_Markowitz](https://meta.discourse.org/u/Sruly_Markowitz)
#### Post date: [November 12, 2018, 5:37pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/5 "2018-11-12T17:37:09Z")

</div>

are these the only 2 plugins?

---

<div class="post-metadata">

### Author: ![LittleLebowsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/littlelebowsky/32/124019_2.png) [@LittleLebowsky](https://meta.discourse.org/u/LittleLebowsky)
#### Post date: [January 7, 2019, 12:01am UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/6 "2019-01-07T00:01:26Z")

</div>

Hello! I got this plugin working. (well…sort of\*)

What was your issue? In my case, this is the output the widget gave me after configuring:

> Something went wrong: cURL error 6: Could not resolve host: myforum.comlatest.json

The simple fix for this was to **add a slash in the widget settings at the end of forum’s URL** , so instead of [myforumsurl.com](http://myforumsurl.com) you type in [myforumsurl.com/](http://myforumsurl.com/) as it seems there is a simple typo in the plugin itself. The plugin calls for [myforumsurl.com/latest.json](http://myforumsurl.com/latest.json).

**HOVEVER** as I’ve mentioned in the beginning, I got it sorta working, but not really. **The widget is only visible to my admin account** , it disappears as I log out, it isn’t showing for lower level accounts either. I have no idea how to fix this one. Good luck.

---

<div class="post-metadata">

### Author: ![samshuai](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samshuai/32/181298_2.png) [@samshuai](https://meta.discourse.org/u/samshuai)
#### Post date: [May 21, 2020, 5:02pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/7 "2020-05-21T17:02:01Z")

</div>

> [@LittleLebowsky](#):
>
> **The widget is only visible to my admin account** , it disappears as I log out, it isn’t showing for lower level accounts either. I have no idea how to fix this one. Good luck.

me too.  
pls fix it.  
thx

---

<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: [May 21, 2020, 5:07pm UTC](https://meta.discourse.org/t/wordpress-discourse-widgets-plugin-not-working/100687/8 "2020-05-21T17:07:35Z")

</div>

The plugin at [Discourse Widgets – WordPress plugin | WordPress.org](https://wordpress.org/plugins/widgets-for-discourse/) is not maintained by the Discourse team. It was last updated 3 years ago. I would not recommend installing it on your site.
