Remove dates from comments (3 posts)

  1. raisingsmallsouls
    Posted 6 years ago #

    Hi, I'm trying to figure out how to remove the dates from my comments.

    I already found a thread here which removes the dates from my POSTS, now I also want the date removed from my comments.

    For example, I want to present this post http://www.raisingsmallsouls.com/conflict-resolution/ as though it's new, but the dates of the comments show that this is several months old!



  2. Michael
    Forum Moderator
    Posted 6 years ago #

    always make a backup copy before editing theme files

    probably in comments.php, see if you can find something very similar to:
    <div class="comment-meta commentmetadata"><a href="<?php .......?>"><?php comment_date() ?></a></div>

    then delete it -
    or maybe better just 'comment it out' like so:
    <!-- <div class="comment-meta commentmetadata"><a href="<?php .......?>"><?php comment_date() ?></a></div> -->

    and delete if you are sure you have done the right thing ;-)

  3. magickman5
    Posted 6 years ago #

    hi raisingsmallsouls,

    you have to look for the the_time() function in single.php, index.php, comments.php and comment it.

    hope this helps you.

Topic Closed

This topic has been closed to new replies.

About this Topic