Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Reply
 
LinkBack Thread Tools
Old 10-25-2009, 07:06 PM   #1
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Posts: 84
Thanks: 17
Thanked 1 Time in 1 Post
Default How Do I Take Out The Date From People's Comments On My WP Blog?

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!

Dreams is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 07:13 PM   #2
Advanced Warrior
War Room Member
 
Bruce Hearder's Avatar
 
Join Date: May 2004
Location: Perth, Australia.
Posts: 606
Thanks: 4
Thanked 124 Times in 98 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Bruce Hearder
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

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

Start Your Own BlogFarm -Get All The Links You Want
Bruce Hearder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 07:29 PM   #3
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Posts: 84
Thanks: 17
Thanked 1 Time in 1 Post
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

Hi Bruce,

I'm going to try this now.

Thanks!

Dreams is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 08:24 PM   #4
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Posts: 84
Thanks: 17
Thanked 1 Time in 1 Post
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

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.

Dreams is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 08:36 PM   #5
Advanced Warrior
War Room Member
 
Bruce Hearder's Avatar
 
Join Date: May 2004
Location: Perth, Australia.
Posts: 606
Thanks: 4
Thanked 124 Times in 98 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Bruce Hearder
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

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

Start Your Own BlogFarm -Get All The Links You Want
Bruce Hearder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 08:50 PM   #6
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Posts: 84
Thanks: 17
Thanked 1 Time in 1 Post
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

A PM coming your way!

Dreams is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2010, 06:35 PM   #7
HyperActive Warrior
War Room Member
 
jbode's Avatar
 
Join Date: Apr 2008
Location: Michigan, USA
Posts: 297
Blog Entries: 1
Thanks: 13
Thanked 42 Times in 25 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

I'm trying to do this as well... can't find directions anywhere - anybody actually remove comment dates?

jbode is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2010, 11:04 PM   #8
Lisa Dozois
War Room Member
 
lisag's Avatar
 
Join Date: Jan 2006
Location: Florida, USA.
Posts: 573
Thanks: 86
Thanked 201 Times in 102 Posts
Social Networking View Member's Twitter Profile 
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

Quote:
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

-- Lisa G
Is THIS an ethical way to get people to comment on your blog?
April 15th is Tax Day - Click Here to Make It Pay Day!
lisag is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
blog, comments, date, people

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 02:42 PM.