# Allowing WP comments while showing Discourse comments too

**URL:** https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968
**Category:** WordPress
**Created:** [February 19, 2018, 10:26pm UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968 "2018-02-19T22:26:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [February 19, 2018, 10:26pm UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968/1 "2018-02-19T22:26:15Z")

</div>

As far as I can see, WP-Discourse seems to make an exclusive choice between showing WordPress comments or Discourse comments in a WP post. There is an option to show existing WP comments beneath the Discourse ones, but the form to post new WP comments will be removed.

Question: is there a way to keep both commenting systems active? While this doesn’t make much sense for a single WP-Discourse pair, in our setup we have a Discourse that invites WP sites to “federate” their comments in a common Discourse pool, while still aiming to allow these independent WP sites to keep their own WP comments with their own users.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [February 19, 2018, 11:25pm UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968/2 "2018-02-19T23:25:12Z")

</div>

How would you keep the UX from becoming confusing for users? How would they know which comments system to use?

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [February 19, 2018, 11:29pm UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968/3 "2018-02-19T23:29:24Z")

</div>

Just appending one set of comments after the other, separate. Out there in the social space, people remix local comments with Facebook comments plugin, Disqus plugin… Not beautiful and polished, but it provides the aggregation of comments that independent publishers (those not giving up and just linking to FB, Twitter, etc) are seeking.

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [February 19, 2018, 11:41pm UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968/4 "2018-02-19T23:41:49Z")

</div>

I know it’s not wp-discourse, but you could probably do it with the JavaScript embedder.

> [@Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963):
>
> Discourse has the ability to embed the comments from a topic in a remote site using a Javascript API that creates an IFRAME. For an example of this in action, check out [Coding Horror’s blog](http://blog.codinghorror.com/welcome-to-the-internet-of-compromised-things/#discourse-comments). The blog is run via [Ghost](https://ghost.org/) but the comments are embedded from his [Discourse forum](http://discourse.codinghorror.com/t/welcome-to-the-internet-of-compromised-things/3550). One important thing to note with this setup is that users have to navigate to your forum to post replies. This is intentional, as we feel that the posting interface on a Discourse forum is currently much richer than what we …

---

<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: [February 19, 2018, 11:50pm UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968/5 "2018-02-19T23:50:57Z")

</div>

I haven’t put a lot of work into this, because it seems like it’s not used much, but if you select the Show Existing WP Comments option, existing WordPress comments will be displayed if there are any existing WordPress comments. The form to post new comments should also be displayed. If it isn’t being displayed, the issue could be with your theme.

If there are no existing WordPress comments, the WordPress comment form will not be displayed. The plugin has always behaved this way. It wouldn’t be difficult for me to add a filter to the logic there, so that you could override this behaviour.

If the Load Comments With Ajax option is selected, it’s not currently possible to get existing WordPress comments or the WordPress comment form to display.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [February 20, 2018, 9:01am UTC](https://meta.discourse.org/t/allowing-wp-comments-while-showing-discourse-comments-too/80968/6 "2018-02-20T09:01:42Z")

</div>

Thank you for the quick and complete answer, @simon.

An option to show the WP comments form even when there are no comments would be great. The rest should be covered by existing functionality.

@notriddle yes, I am very familiar with the JS embedder. WP-Discourse is superior in so many ways when you can technically use it (self-hosted WP installations only), that it would be a pity to fallback to the JS embedding because of one important detail (the feature requested above).
