Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2861056
Comment Count Showing Zero With Elementor
Closed

Comments

  • rtblogger started the conversation

    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.



  •  2,613
    PenciDesign replied

    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 replied

    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 replied privately
  •   rtblogger replied privately
  •  2,613
    PenciDesign replied

    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

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

    Please close thread.