Tagged: 

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

    Hi, i want to remove that comment count, right under the post date on the top left. I found a thread here saying to remove a bit of code in loop-index, but without success.

    Thanks

    #48284

    Hi,

    You can remove this by going in loop-index.php and removing line 29 to 33.

    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
    "<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
    "<strong></strong> ".__('Comments<br/>Off','avia_framework')
    ); ?>
    </span>

    If you are uncertain you can put ” <!– ” in front of it and ” –> ” behind it. This will ensure your code isn’t lost, but it wont be run.

    #48285

    Thanks, that took it out from the blog page (posts listings) but not in the blog post itself. Any idea?

    Thanks again for great support

    #48286

    You can do the same for loop-archive.php, apply on line 29 through 33.

    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
    "<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
    "<strong></strong> ".__('Comments<br/>Off','avia_framework')
    ); ?>
    </span>

    #48287

    Thanks

    #48288

    Glad I could help :)

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

The topic ‘Removing the comment count, under date on blog posts’ is closed to new replies.