Wordpress - Comments not appearing at all

Stupid question : Is it possible that your theme doesn't include the comments on display?

In addition to settings, your theme must display comments.

The default function provided by WP is comments_template (to use on single.php and/or page.php) :


 comments_template( '', true );

UPDATE ---------------------------------------------------

I believe there is something wrong with the theme "hueman".

I installed it on a local WP containing sample contents.

When I go to an article containing comments, I have the exact same result as you get.

If I display the exact same article using a different theme (one of the defaults provided), the comments are displayed.

So I checked the single.php template file of the hueman theme and it use a custom function ( hu_is_checked('post-comments') ). Used in:

if ( hu_is_checked('post-comments') ) { comments_template('/comments.php',true); }

The problem is: it return null (so the comments can't be displayed).

According to the theme documentation, we should be able to customize the theme options through the customizer http://docs.presscustomizr.com/article/113-customizr-theme-options-comments This option is located in : Customizer > Content Panel > Comments

Unfortunatly I wasn't able to found it : I tried on front page, single post, page, never saw it.

So, since the option is not defined, the custom function will always return null.

A quick fix would be to create a child theme of hueman, overwrite single.php template and change the line for:

comments_template('/comments.php',true);

I tested it, it works.

A better solution would be to contact the theme author to see if we missed something or if it's a bug.


Follow three steps :

  1. Can you check in your post edit page. Many themes have an Meta Box with an option to enable and disable Comments in post's edit page.

  2. If you have checked there and still is is not coming then please check your theme's file if comments_template is there or not.

  3. If it is there, then are you using any comments related plugin such as Disqus or Facebook Comments. Please try deactivating those.

Hope with the above option you will get your solution.


I just had to post this as I was going thru the same thing. I'd edited the post that "came with" the initial set up. Seeing as the post was from a year ago, I thought I'd 'post date' it (pun intended). But the comments box wouldn't show up. So, I created a brand-new post, and left the publish date as of right now, actual time. The comments box showed up. I created another post, left it at the immediate time, and hey presto, it worked. I even switched themes to see and yes, the comments box(es) were there on the two posts. So, don't back date something and see if that works for you!

Tags:

Comments