Skip to content
Public Ticket #17898

Comment Count Showing Zero With Elementor

Conversation thread

rtblogger replied

Customer Reply

Thank you so much! You theme is amazing (it has improved our pagespeed score) and your support is incredible. Appreciate it.

Please close thread.

PenciDesign Supporter replied

Staff Reply

Hi,

The comment not showing because the Disqus not loading js on the Elementor page. I've modified the plugin file.

Please check.

Regards,
PenciDesign.


rtblogger replied

Customer Reply

Hello, appreciate your response. Unfortunately this doesn't appear to be an issue related to disqus. We also disabled all plugins except Disqus, Elementor and it didn't fix the issue.

It appears the theme file that correlates to that comment count is template-parts/latest-posts-sc/content-list.php

This is the part relating to the comments count. Do you see anything here we could change that might help? Thank you.

<span class="otherl-comment"><a href="<?php comments_link(); ?> "><?php comments_number( '0 ' . penci_get_setting( 'penci_trans_comment' ), '1 '. penci_get_setting( 'penci_trans_comment' ), '% ' . penci_get_setting( 'penci_trans_comments' ) ); ?></a></span>

PenciDesign Supporter replied

Staff Reply

Hi,

I've replied to you on the other ticket, all problem about the comment number is related to Disqus plugin.

Disqus showing the comment number via AJAX & JS code. If the comment number not showing correctly, maybe some plugins have conflict JS code with Disqus: https://help.disqus.com/en/articles/1717066-wordpress-troubleshooting-and-faq. You can disable/enable each plugin you've installed then check again.

Regards,
PenciDesign.


rtblogger started the conversation

Conversation Start

Hello, for some reason, the comment count is showing zero on the homepage we built with Elementor instead of the correct number of comments. We've been troubleshooting for hours but can't figure this out. Thanks.

Want to join this conversation or access attachments? Sign in first.