Comments on Post Page are not visible

Hi,

first of all thank you for this amazing theme!

I have a problem with the displaying of comments on Blog Post Pages in my Blog:
http://www.whitebyte.info/programming/introduction-into-commentbox

This is a page of a post with comments, but the comments are not displayed.

The comments are displayed for ‘normal’ pages though:
http://www.whitebyte.info/projects/commentbox

The comment function is enabled for new posts and for this particular post too.

Did i miss some option or is this a Bug?

Thank you for your feedback!

Comments does work for this theme by default and it uses basic comment form setup which means that there is not much you can break :slight_smile:

You can see a sample post from demo with comments enabled: https://colorlib.com/unite/post-format-standard/

Have you checked if comments are enabled? There is “Discussion” box with option “Allow comments” under Post Edit Screen. If you don’t have this field visible you can enable it via Screen Options on the upper right corner of the sams Post Edits view.

Additionally, make sure that comments are enabled via Settings - Discussion - “Allow people to post comments on new articles”.

If this is not the case, then probably you should check if single.php, content.php and content-single.php still have required code for comments. You can simply compare it with original files from WordPress.org http://themes.svn.wordpress.org/unite/1.3.1/

Hi,

i found out that the generic “main template file” (index.php) is used to display my single post pages.

This template does not include comments, which results in the missing posts.

How can i fix this? I don’t think putting the comment function into index.php would be a good way…

P.S. i did not manipulate any files of the template, i only added some custom css through the extra css function of the template.

I meant: […] which results in the missing comments.

I did some futher testing and for the calls to single pages the is_single() function returns true within index.php. I don’t understand why single.php isn’t called instead of index.php.

Try to reset website permalinks to default ones and see if this solves your problem.

You can get this done via WordPress dashboard - Settings - Permalinks

hi, my blog is a few years old, the changing of the permalinks is not possible.

I think i will go for manipulating the index.php and checking for is_single()…

I am not saying that you should leave default ones. Just set to default ones and see if this works and then you can change them back. It works like cache cleaner and could reset to proper settings.

Sorry for the misunderstanding, i changed it to the default and it did still not work (i changed it back now).

Edit: i also tried to clear the cache manually () but it did not help…

I found the culprit, it was a plugin that broke the templating hirachy system:

Thank you very much for your support and of course for the theme :slight_smile:

No wonder why this plugin has average rating of 2.3/5 :slight_smile: