Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1021726
    Michael
    Participant

    I just updated to the latest X theme files and when I refreshed my homepage I noticed that the total number of comments were no longer showing up on the blog post, or even when I click through to the specific post.

    Under the blog post titles, it usually lists the categories and then the total number of comments.

    Prior to the update, it used to read (for example), “36 Comments”, but now it reads “%s Comments” on all the posts.

    Any idea how I can fix this?

    Thank you!

    #1021970
    Paul R
    Moderator

    Hi,

    It looks like your theme files is corrupted.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1022356
    Michael
    Participant
    This reply has been marked as private.
    #1022629
    Rahul
    Moderator

    Hey There,

    It’s a confirmed bug, we’ve already patched it and it’ll be in the next release.

    For now, find this code:

    $text = ( 0 === $number ) ? 'Leave a Comment' : _n( '%s Comment', '%s Comments', $number, '__x__' );

    and replace with

    $text = ( 0 === $number ) ? 'Leave a Comment' : sprintf( _n( '%s Comment', '%s Comments', $number, '__x__' ), $number );

    If you still have issues after updating that, open a thread in the forum and we’ll be right along to assist. 🙂

    Thanks!

    #1022872
    Michael
    Participant

    Okay, thanks. Could you be more specific on which file(s) this needs to be replaced in?

    #1023515
    Darshana
    Moderator

    Hi there,

    You can locate the code under your stack (/wp-content/themes/x/framework/functions/renew.php).

    The fix for this issue will be released tomorrow in version 4.5.2 so kindly stay tuned.

    Thanks!

    #1023634
    Michael
    Participant

    That worked. Thanks for the temporary band-aid!

    #1023815
    Paul R
    Moderator

    You’re welcome! 🙂

    #1024010
    martinedens
    Participant

    +1 on this

    #1024274
    Paul R
    Moderator

    Noted. Thanks

  • <script> jQuery(function($){ $("#no-reply-1021726 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>