# Comments are not showing after post content

**URL:** https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654
**Category:** WordPress
**Created:** [March 23, 2018, 2:19pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654 "2018-03-23T14:19:45Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![c38a881f7741229d8bd2](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@c38a881f7741229d8bd2](https://meta.discourse.org/u/c38a881f7741229d8bd2)
#### Post date: [March 23, 2018, 2:19pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/1 "2018-03-23T14:19:45Z")

</div>

Hi, we use [wp discourse](https://github.com/discourse/wp-discourse) plugin on our site. The problem is that i can’t find comment section after post content.  
Seems like plugin options are fine, but we still have an issue  
Can you help us please?  
Forum page:  
[https://forum.sportenter.co.il/t/topic/80478/2](https://forum.sportenter.co.il/t/topic/80478/2)  
Related article:

> **[Limey - Simple, free, fully responsive sites](https://limey.io/)**
>
> Build a website with Limey's website builder in just a few minutes. Give yourself a competitive advantage and increase your conversion rate.

---

<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 23, 2018, 3:01pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/2 "2018-03-23T15:01:27Z")

</div>

Make sure the ‘Use Discourse Comments’ option is checked. If you have already done that, the problem might be to do with the way your theme loads comments. For Discourse comments to show up, your theme needs to be loading the WordPress comments template.

What is the name of your theme? If your theme is in the WordPress repo, I can try it out.

You could try using this plugin to debug the problem: [Health Check & Troubleshooting – WordPress plugin | WordPress.org English (Canada)](https://en-ca.wordpress.org/plugins/health-check/). It will let you disable all plugins on your site and load WordPress with the default 2016 theme. You can then enable the [WP Discourse](https://github.com/discourse/wp-discourse) plugin to see if it will display comments. There is some documentation for the plugin here: [Troubleshooting using the Health Check – Make WordPress Support](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/). You should save a backup of your database before enabling it.

---

<div class="post-metadata">

### Author: ![Carl1](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl1](https://meta.discourse.org/u/Carl1)
#### Post date: [March 24, 2018, 4:38pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/3 "2018-03-24T16:38:53Z")

</div>

thank you for your response, i’m another admin of this site. Unfortunately your instructions didn’t help us to fix this issue(. We are using Flex Mag theme (or it’s child theme, to be specific) ([https://themeforest.net/item/flex-mag-responsive-wordpress-news-theme/12772303](https://themeforest.net/item/flex-mag-responsive-wordpress-news-theme/12772303)) Our theme is loading WordPress comments template and we can see comments which are created by standard wordpress instruments: [http://joxi.ru/EA4WBJ9sDVEvY2](http://joxi.ru/EA4WBJ9sDVEvY2). We used Health Check, as you said but it’s didn’t help us find out what may cause this issue. We still see no comments with default 2016 theme and discourse (as the only active plugin).

---

<div class="post-metadata">

### Author: ![Carl1](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl1](https://meta.discourse.org/u/Carl1)
#### Post date: [March 24, 2018, 4:55pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/4 "2018-03-24T16:55:29Z")

</div>

I think the problem is that the plugin doesn’t see comments from the forum ([http://joxi.ru/krDJBP8t0DjGp2](http://joxi.ru/krDJBP8t0DjGp2) : as you see it’s saying “START THE DISCUSSION” but there are already comments under that post: [Limey - Simple, free, fully responsive sites](https://www.sportenter.co.il/%D7%9B%D7%93%D7%95%D7%A8%D7%92%D7%9C/%D7%99%D7%95%D7%A0%D7%99%D7%95%D7%9F-%D7%9E%D7%92%D7%93%D7%9C%D7%A0%D7%94-%D7%97%D7%95%D7%96%D7%A8%D7%AA-%D7%94%D7%91%D7%99%D7%AA%D7%94/)) . But despite all of this, seems like plugin is writing data about comments to our wordpress database in discourse meta. Our settings:[http://joxi.ru/8236BNbi6R04Qm](http://joxi.ru/8236BNbi6R04Qm) [http://joxi.ru/L21QE7vS6KMOQ2](http://joxi.ru/L21QE7vS6KMOQ2). Can you tell us please what are we doing wrong?

---

<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 24, 2018, 5:22pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/5 "2018-03-24T17:22:22Z")

</div>

Thanks for testing it with the Health Check plugin.

There are some other comment settings that could cause a problem. Here are the default settings. Try using them to see if that fixes it.

 ![45%20AM](https://global.discourse-cdn.com/meta/original/3X/5/f/5f7e164f19d2ac7fc284d91753a154e668a91c63.png)

If you have enabled the Sync Comment Data webhook, try disabling it. It will take up to 10 minutes for comments to show up when the webhook is not being used.

 ![17%20AM](https://global.discourse-cdn.com/meta/original/3X/0/1/0193efd543f29f6682a5e9945866c94111eee747.png)

---

<div class="post-metadata">

### Author: ![Carl1](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl1](https://meta.discourse.org/u/Carl1)
#### Post date: [March 24, 2018, 5:51pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/7 "2018-03-24T17:51:23Z")

</div>

seems like it didn’t help(

---

<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 24, 2018, 5:52pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/8 "2018-03-24T17:52:19Z")

</div>

Thanks for checking. I think I see the problem. I will try something and get back to you about it.

Edit: this is what I _think_ is happening:

Your posts are all being displayed on the WordPress posts page. By default, WordPress does not show any comments on this page. When you disabled all plugins and tried [WP Discourse](https://github.com/discourse/wp-discourse) with the 2016 theme, no comments would have been displayed on your posts page because that is the default WordPress behaviour.

With the WordPress twentysixteen or twentyseventeen theme, to get comments to display on the posts page you need to add a line similar to this to the `content.php` file. This goes below the call to `the_content()`:

```plaintext
global $withcomments;
$withcomments = 1;
comments_template();

```

When I do that, I am able to get [WP Discourse](https://github.com/discourse/wp-discourse) comments to display on the posts page.

Are there any single post pages on your website that you could check? It would be good to see if Discourse comments will appear on a single page.

---

<div class="post-metadata">

### Author: ![Carl1](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl1](https://meta.discourse.org/u/Carl1)
#### Post date: [March 24, 2018, 7:05pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/9 "2018-03-24T19:05:16Z")

</div>

there was already comments\_template() function in content.php and i can see standart wordpress comments under the posts (as i said before), tried as single post, still nothing(

---

<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 24, 2018, 7:09pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/10 "2018-03-24T19:09:06Z")

</div>

Can you see Discourse comments for single posts when you use the twentysixteen theme and disable all plugins except for [WP Discourse](https://github.com/discourse/wp-discourse)?

---

<div class="post-metadata">

### Author: ![Carl1](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl1](https://meta.discourse.org/u/Carl1)
#### Post date: [March 24, 2018, 8:38pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/12 "2018-03-24T20:38:07Z")

</div>

no( Wordpress sees that that there are comments [http://joxi.ru/D2PJ9a4tdL5OXr 1](http://joxi.ru/D2PJ9a4tdL5OXr) (with twentysixteen and Discourse enabled / with my current theme and all plugins enabled) but refuses to show them on frontend . Really have no idea what may cause this.

---

<div class="post-metadata">

### Author: ![Carl1](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@Carl1](https://meta.discourse.org/u/Carl1)
#### Post date: [March 25, 2018, 12:40pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/13 "2018-03-25T12:40:17Z")

</div>

we managed to fix this)) There was an error in child-theme code and now it’s working fine) Thank you, Simon for your help and time)

---

<div class="post-metadata">

### Author: ![Sanskriti\_Agrawal](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Sanskriti\_Agrawal](https://meta.discourse.org/u/Sanskriti_Agrawal)
#### Post date: [February 12, 2019, 6:17am UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/14 "2019-02-12T06:17:54Z")

</div>

Comment box is not appearing on my blogpost. I am using twenty seventeen theme. Please somebody help me, I have been trying a lot of things since a week now.

---

<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 13, 2019, 1:08am UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/15 "2019-02-13T01:08:59Z")

</div>

Can you check that comments are enabled for the post? Also make sure that the ‘Enable Discourse Comments’ setting is enabled. That setting should look like this:

 ![00%20PM](https://global.discourse-cdn.com/meta/original/3X/8/d/8dfbf0e8a8b7627857929d5e8af10f369d299303.png)

Let me know if comments are still not being displayed for you.

---

<div class="post-metadata">

### Author: ![uxdillux](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@uxdillux](https://meta.discourse.org/u/uxdillux)
#### Post date: [October 7, 2021, 2:14pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/16 "2021-10-07T14:14:38Z")

</div>

Hello! I am having the same issue. I have checked the posting and commenting settings and all seem to be checked correctly, but I am still not able to see the Discourse section at the end of the post. All I am seeing is the wordpress comment section. Previously, when my site was in staging, I was able to see the “Continue the conversation on Discourse” with a link. Any help is appreciated!

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 11, 2021, 10:42am UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/17 "2021-10-11T10:42:44Z")

</div>

Hey Tim, could you just confirm a few things for me about your production site. If you could just check them off for me in your response. Thanks 🙂

- your [WP Discourse](https://github.com/discourse/wp-discourse) plugin is connected to your Discourse, i.e. you see “You’re Connected to Discourse” when you load the [WP Discourse](https://github.com/discourse/wp-discourse) admin panel;

- your wordpress posts are being posted to your Discourse, and there are replies to the Discourse topic on the Wordpress post you’re not seeing Discourse comments on;

- you have “Enable Discourse Comments” set to true and “Display comments for all topics” checked; and

- your wordpress cache is not preventing you from seeing the comments. To check this, please try toggling the WP Discoursse “Commenting” setting “Clear Cached Comment HTML”.

---

<div class="post-metadata">

### Author: ![uxdillux](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@uxdillux](https://meta.discourse.org/u/uxdillux)
#### Post date: [October 11, 2021, 3:45pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/18 "2021-10-11T15:45:42Z")

</div>

Thanks for the follow-up! All four checks down the board. Still, nothing is showing.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 12, 2021, 1:30am UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/19 "2021-10-12T01:30:11Z")

</div>

Ok, if you feel comfortable with it, could you go to the Logs panel in the [WP Discourse](https://github.com/discourse/wp-discourse) plugin, download the logs and send them to me via PM? Note that there is no personally identifying information or secrets in the logs.

For more on the logs and what’s in them see

> [@View logs for the WP Discourse plugin](https://meta.discourse.org/t/wp-discourse-logging/190745):
>
> The [WP Discourse](https://github.com/discourse/wp-discourse) plugin has its own logging system (since v2.2.5). This is an overview of how it works and how to use it. If you have any questions please respond below. What is logged All of the main [WP Discourse](https://github.com/discourse/wp-discourse) feature-sets log errors (since v2.3.5). To log every action, including successful ones, you can turn on verbose logging for the relevant feature-set you want more information on. Look for a setting starting with “Verbose..” in the relevant settings tab. How logs are stored The plugin…

---

<div class="post-metadata">

### Author: ![uxdillux](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@uxdillux](https://meta.discourse.org/u/uxdillux)
#### Post date: [October 12, 2021, 11:46am UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/20 "2021-10-12T11:46:41Z")

</div>

Sure thing. Will send them over. Where should I send them to?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 12, 2021, 3:21pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/21 "2021-10-12T15:21:59Z")

</div>

Send me them in a message here on [meta.discourse.org](http://meta.discourse.org).

[Click this link to compose a message to me](https://meta.discourse.org/new-message?username=angus).

---

<div class="post-metadata">

### Author: ![uxdillux](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@uxdillux](https://meta.discourse.org/u/uxdillux)
#### Post date: [October 13, 2021, 1:13pm UTC](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654/22 "2021-10-13T13:13:27Z")

</div>

It’s not allowing me to send you a message.

[Next page](https://meta.discourse.org/t/comments-are-not-showing-after-post-content/83654.md?page=2)
