Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #172405

    Hi,

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

    Regards,
    Josue

    #172737
    #172749

    Hey!

    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.

    Regards,
    Josue

    #172787

    Awesome.. worked perfect. Thank you

    #172791

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

    Regards,
    Josue

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

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