Before you ask please READ THIS

Completely remove "0 comments" and "Comments are closed" from Posts

edited January 2012 in Airlock Posts: 8
Dear Appolo,

I have disable comments and trackbacks from posts but I still see in each post of mine next to the date I have add one post "0 comments" and at the end of the article the "Comments are closed" can you please let me know how can I remove this?

Thank you in advanced.

Comments

  • AirAir
    Posts: 10,970

    Hi,

    Easiest way to hide Comments are closed, is delete content of comments.php file. Don't delete file, but all its content.

    About 0 comments will be more work:

    loop.php delete line ~39
    loop-single.php delete line ~20 which looks like

    <?php echo ' <a class="comments" href="' . get_comments_link() . '" title="">' . get_comments_number() . ' ' . __( 'comment(s)', TPL_SLUG ). '</a>'; ?>

    With regards.




  • Posts: 8
    Perfect working like a charm! Thank you
  • Posts: 8
    Thank you is working! ;)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!