# É possível criar automaticamente um tópico no fórum quando um usuário envia uma revisão em um tema do WordPress?

**URL:** https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729
**Category:** WordPress
**Created:** [26 Maio , 2019 17:00 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729 "2019-05-26T17:00:24Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [26 Maio , 2019 17:00 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/1 "2019-05-26T17:00:24Z")

</div>

Hey everyone!

Just dipping my feet into Discourse for the first time, and had a quick question.

I know that the WP-Discourse plugin brings the functionality of forum topics being created automatically when a WP user replies to a blog post.

However, I’d like to know if this same functionality can be extended to when a user submits a review in a directory listing on the WP installation? (Please see: [Typing Room - MyListing](https://mylistingtheme.com/place/typing-room/#reviews) as an example).

Any thoughts on this would be appreciated! Thanks!

---

<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: [26 Maio , 2019 18:03 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/2 "2019-05-26T18:03:19Z")

</div>

> [@MarximusMG](#):
>
> I’d like to know if this same functionality can be extended to when a user submits a review in a directory listing on the WP installation?

If a review is a WordPress post-type then it may be possible. If you have the [WP Discourse](https://github.com/discourse/wp-discourse) plugin installed on the site, go to the bottom of the plugin’s Publishing options tab and look at the ‘Post Types to Publish’ section. Do you see a post-type listed in that section for reviews?

What WordPress plugin are you using for reviews? If it’s a free plugin, I’ll take a look at it.

---

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [26 Maio , 2019 21:14 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/3 "2019-05-26T21:14:34Z")

</div>

Hey Simon, thanks for the reply!

> [@simon](#):
>
> If a review is a WordPress post-type then it may be possible.

It seems that this theme (MyListing) categorizes reviews as comments, and not post-types. Any chance you believe this is something that could be modified?

> [@simon](#):
>
> Do you see a post-type listed in that section for reviews?

This is all I’m seeing in that window (plus “product” underneath, not shown here):

 ![11%20PM](https://global.discourse-cdn.com/meta/original/3X/5/8/5804a16be59c90668e66fd0531cbb78a807a2b86.png)

> [@simon](#):
>
> What WordPress plugin are you using for reviews?

The review functionality is added with the theme itself, as I didn’t install any WordPress plugins aside from the [WP Discourse](https://github.com/discourse/wp-discourse) plugin and Elementor. I can provide the theme files privately, if that would be helpful to look at.

Again, I truly appreciate your time. Thanks!

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26 Maio , 2019 22:10 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/4 "2019-05-26T22:10:13Z")

</div>

Pushing comments to Discourse is the default functionality of that plugin. If a review is just a comment, then it will probably just work by default. Try it.

---

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [26 Maio , 2019 22:29 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/5 "2019-05-26T22:29:15Z")

</div>

Hmm… aside from installing the plugin and enabling auto-publish, is there any other configuration in the plugin settings that I may have missed that would lead to this not working (assuming it is compatible with the reviews in the theme I’m using)?

---

<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: [26 Maio , 2019 22:36 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/6 "2019-05-26T22:36:54Z")

</div>

> [@MarximusMG](#):
>
> It seems that this theme (MyListing) categorizes reviews as comments, and not post-types.

This will be a problem. The [WP Discourse](https://github.com/discourse/wp-discourse) plugin publishes posts from WordPress to Discourse and pulls Discourse comments to WordPress. It would probably be possible to publish the post at [Typing Room - MyListing](https://mylistingtheme.com/place/typing-room/) from WordPress to Discourse, but for reviews (comments) to show up on Discourse, they would need to be created on the Discourse site. This may also be possible, but you would lose a lot of the review functionality that is being provided by your WordPress theme.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [26 Maio , 2019 23:15 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/7 "2019-05-26T23:15:40Z")

</div>

Oops. Sorry for the confusion. I had the direction messed up.

---

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [26 Maio , 2019 23:23 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/8 "2019-05-26T23:23:32Z")

</div>

> [@simon](#):
>
> This may also be possible, but you would lose a lot of the review functionality that is being provided by your WordPress theme.

Thank you again for your input on this.

Out of curiosity, what would be the most sensible way to deal with this? Would it be to try to have some custom work done on the theme’s end so these reviews are classified appropriately?

---

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [26 Maio , 2019 23:24 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/9 "2019-05-26T23:24:14Z")

</div>

> [@jtbayly](#):
>
> Oops. Sorry for the confusion. I had the direction messed up.

All good! I appreciate your feedback.

---

<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: [26 Maio , 2019 23:48 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/10 "2019-05-26T23:48:47Z")

</div>

> [@MarximusMG](#):
>
> what would be the most sensible way to deal with this?

It’s hard to say. One approach would be to publish the ‘listing’ posts to Discourse and have the reviews created directly on Discourse as replies to the post. Possibly the [Topic Ratings Plugin](https://meta.discourse.org/t/topic-ratings-plugin/39578) could get you started with this. It is possible to display the ratings that are created with that plugin in comments on WordPress. It would take some custom code on WordPress to display the ratings though.

---

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [27 Maio , 2019 00:20 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/11 "2019-05-27T00:20:20Z")

</div>

Thanks, Simon! Will check this out.

---

<div class="post-metadata">

### Author: ![MarximusMG](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marximusmg/32/142127_2.png) [@MarximusMG](https://meta.discourse.org/u/MarximusMG)
#### Post date: [27 Maio , 2019 14:36 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/12 "2019-05-27T14:36:01Z")

</div>

I’ve been searching the forums for this, but can’t find a solid answer - is there an appropriate way to find an individual/team that is capable of customizing Discourse plugins or creating custom plugins?

---

<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: [27 Maio , 2019 15:46 UTC](https://meta.discourse.org/t/possible-to-automatically-create-forum-topic-when-user-submits-review-on-wordpress-theme/118729/13 "2019-05-27T15:46:03Z")

</div>

> [@MarximusMG](#):
>
> is there an appropriate way to find an individual/team that is capable of customizing Discourse plugins or creating custom plugins?

You could try creating a topic in the #Marketplace category.
