August 29, 2018 at 4:32 pm #1003213
I’ve consulted previous threads re. this. I’m not using the ALB, and have checked comment settings, but my comments aren’t displaying at all, although the meta link is showing with the number of comments
Is there something I’m doing wrong? I’ve also tried setting the CSS to display:block, but that doesn’t help either.
SimonAugust 29, 2018 at 4:46 pm #1003217
How very odd.
Have you set comments to be moderated under “Discussion Settings”? (or via a plugin)
It could be another setting in there maybe blocking them?
Is it possible to post a link to the page in question?
TJAugust 30, 2018 at 1:12 pm #1003547
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
VictoriaAugust 30, 2018 at 8:16 pm #1003775August 31, 2018 at 3:07 pm #1004102
Maybe this post can help you
If you need further assistance please let us know.
VictoriaAugust 31, 2018 at 4:23 pm #1004157
I can’t see a relevant solution on that page, I’m afraid – there is code, but it refers to pages and not posts.
What did you find when you logged into the site?
SimonSeptember 1, 2018 at 12:46 am #1004242September 2, 2018 at 7:16 am #1004581
I tried to troubleshoot this issue but the login credentials you provided do not work for me. Would you mind checking once again and then send us working login credentials?
The user role for the account you send us should be set to ‘administrator’ so we can try to disable all plugins and add custom code (if necessary) to resolve the issue.
VinaySeptember 2, 2018 at 12:57 pm #1004623
I’m so sorry – I’d rolled back the site to a previous backup and had unintentionally removed the user along with it.
Please try again using the details provided.
Thanks for getting back to me!
September 4, 2018 at 8:39 am #1005318
- This reply was modified 3 years, 4 months ago by friendlier.
I fixed it by replacing line 90 in comments.php:
$comment_entries = get_comments(array( 'type'=> 'comment', 'post_id' => $post->ID ));
$comment_entries = get_comments(array('post_id' => $post->ID));
Please copy the comments.php template to your child theme folder.
DudeSeptember 5, 2018 at 10:08 am #1005945
Dude – excellent work.
Thank you so much; the problem had been bugging me for days and I wouldn’t have been able to fix alone.
SimonSeptember 5, 2018 at 10:59 am #1006006
Glad we could help and sorry for the problems. Please let us know if you should need any further help on the topic or if we can close it.
RikardSeptember 5, 2018 at 11:57 am #1006055
We can close the topic now. Thanks once again for the help – the comments make a huge difference to the site, and I couldn’t have gone live without them done.
have a good day.
SimonSeptember 5, 2018 at 12:29 pm #1006078
The topic ‘Comments not displaying’ is closed to new replies.