Comments not showing in single.php post
-
Hi,
I’m gone over countless questions of comments not showing up when using a theme. I’m building a theme based on Twenty Twelve and the comments are not showing. What is weird is that the comment template is showing on the page, but the list of comments are not.
The parent ordered list container is there, however within that, however many comments there are, it shows this
<!-- #comment-## -->
in the HTML.I’ve made another theme based on Twenty Twelve before so I copied the PHP from the functions file into the new themes functions file and I’m still getting the same issue.
The comments template function is before the endwhile php tag as well and it’s clearly working, it’s just refusing to show the actual comments. Even the title where it says there has been x thoughts on this post is showing with the correct number.
Any help please? I have no clue how to fix this. I’m running the latest WordPress version and the site is running on a localhost environment.
- The topic ‘Comments not showing in single.php post’ is closed to new replies.