If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #172382

    On the blog post page, how can I change the the icon that counts the replies. (ie the icon that has either a 0 or 1 in it to count the number of replies to the post)

    I would like to know how I can either do the following:

    1. Remove the icon when there are 0 replies only, but keep it when there are replies to the post.

    2. Make the icon smaller



    Can you post the link to the “blog post page”?




    Open /includes/comments.php.

    Replace line 50 and 51:

    <span class='comment-count'><?php echo $ccount; ?></span>
    <span class='comment-text'><?php echo $rep; ?></span>

    By this:

    <?php if ($ccount != 0){ ?><span class='comment-count'><?php echo $ccount; ?></span>
    <span class='comment-text'><?php echo $rep; ?></span><?php } ?>

    That will make the counter only to show when the comment count is not 0.



    Awesome.. worked perfect. Thank you


    Glad we could help. Let us know if you have any other questions or issues :)


Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Blog Post Page Change "Replies Counter Icon"’ is closed to new replies.