How Do I Take Out The Date From People's Comments On My WP Blog?

by Dreams
8 replies
Hi everyone,

I'm currently using a WordPress plugin to take out the dates from my posts. But whenever someone makes a comment it leaves a date.

This plugin doesn't take the date out of people's comments. Would you know how I can take out the date? I tried looking in my comments.php file for anything that said date or time but nothing.

I started messing around with my comment-template.php and I got a few error messages on my comments. Any help would be appreciated.

Thanks!
#blog #comments #date #people
  • Profile picture of the author Bruce Hearder
    Hi,

    It depends slightly on what template you are using, but in the default template, look for the comments-popup.php file and then simply replace all occurrences of :

    <?php comment_date() ?>

    with

    &nbsp;

    If not using the default template, simply do a search in your template folder for all PHP files that contain the text

    comment_date()

    and then do the replace in that file.


    Hope this helps

    Bruce
    {{ DiscussionBoard.errors[1316665].message }}
  • Profile picture of the author Dreams
    Hi Bruce,

    I'm going to try this now.

    Thanks!
    {{ DiscussionBoard.errors[1316708].message }}
  • Profile picture of the author Dreams
    Hi,

    I just tried that and even searched and nothing. Nothing worked. I did find it in a file called legacy.comments.php and did what you said, but I'm still seeing the comment date.
    {{ DiscussionBoard.errors[1316856].message }}
    • Profile picture of the author Bruce Hearder
      What template are you using and what is your blog's url?

      At least that way I might be able to help even more.

      You can PM me if you want

      Take care

      Bruce
      {{ DiscussionBoard.errors[1316890].message }}
  • Profile picture of the author Dreams
    A PM coming your way!
    {{ DiscussionBoard.errors[1316931].message }}
  • Profile picture of the author jbode
    I'm trying to do this as well... can't find directions anywhere - anybody actually remove comment dates?
    {{ DiscussionBoard.errors[1817454].message }}
  • Profile picture of the author lisag
    Originally Posted by Dreams View Post

    Hi everyone,

    I'm currently using a WordPress plugin to take out the dates from my posts. But whenever someone makes a comment it leaves a date.

    This plugin doesn't take the date out of people's comments. Would you know how I can take out the date? I tried looking in my comments.php file for anything that said date or time but nothing.

    I started messing around with my comment-template.php and I got a few error messages on my comments. Any help would be appreciated.

    Thanks!
    All you need to do is edit your theme's CSS file. Look for .commentmetadata and edit the display to none; like this:

    Code:
    .commentmetadata {
    	font-size: 10px;
    	margin: 0px;
    	display: none;
    	}
    See it in action here: http://lisadozois.com/proof-that-goo....html#comments
    Signature

    -- Lisa G

    {{ DiscussionBoard.errors[1826534].message }}

Trending Topics