Missing Comment Box
-
instead of
comments_template();add<?php comments_template(); ?>Thanks for the reply, however, I have read that on another thread. I have just tried it again and I still get this error when I go to a post:
Parse error: syntax error, unexpected ‘<‘ in /home2/jbrauer/public_html/wp-content/themes/mh-magazine-lite/single.php on line 14
I change it back to the other line and then I can view the post again.
Another thing I was wondering is if there is a comment box on only my most recent posts (yes, I have checked my settings and went to see if the box was checked under discussion below screen options) do you think that the issue is related to the code? I have tried other themes but there still is not comment boxes so I don’t think it is theme specific.
Could you kindly change to WordPress default theme like Twentyfifteen and see if there’s comment box or not ?
Yes I have tried that and the same occurs; there is only a comment box on the most recent post.
Also, this has happened a few days ago as well. What I did was copy and paste the posts to new posts. After I have done that, the comment boxes were there. Then they have disappeared after a couple of days. Don’t know if there may be something triggering this or after a while they just disappear for one reason or another.
Could be a 4.3 issue(not sure though)
Ok, thank you for trying.
SO I have fixed my issue FYI.
The reason why my comments seemed like they disappearing on my posts after awhile is because in the Discussion setting under Settings, there was a box that was checked that said to close discussions older than 1 day. I also noticed if I made a post and put it to the date of the original post, the comment box would disappear again. This is the reason why.
Thanks for helping.
The topic ‘Missing Comment Box’ is closed to new replies.
(@modernman)
10 years, 9 months ago
Hello, my website, averageaccountant.com does not have any comment boxes at the bottom of the post I have made. I have tried to disable all of my plug-ins but the comment boxes do not come back.
In my single.php, I have the following code:
endwhile;
mh_after_post_content();
comments_template();
endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
Only my most recent post has the comment box at the bottom. I have also tried to install the Jetpack comments and Discuz but there is still no comments on the bottom of my posts.
I have absolutely no idea what to do. I have also tried different browsers and different computers and I am still stuck with this issue.
Please help. Thank you.