Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-25-2009, 07:06 PM   #1
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Location: Canada
Posts: 120
Thanks: 37
Thanked 9 Times in 7 Posts
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   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: 717
Thanks: 4
Thanked 182 Times in 138 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

-----------------
Get Your Backlinks indexed quicker at BackLinks2RSS

Create Full Text Feeds from Partial RSS Feeds at FeedExpander.com. See the WarriorForum post about it here
Bruce Hearder is offline   Reply With Quote
Old 10-25-2009, 07:29 PM   #3
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Location: Canada
Posts: 120
Thanks: 37
Thanked 9 Times in 7 Posts
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   Reply With Quote
Old 10-25-2009, 08:24 PM   #4
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Location: Canada
Posts: 120
Thanks: 37
Thanked 9 Times in 7 Posts
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   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: 717
Thanks: 4
Thanked 182 Times in 138 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

-----------------
Get Your Backlinks indexed quicker at BackLinks2RSS

Create Full Text Feeds from Partial RSS Feeds at FeedExpander.com. See the WarriorForum post about it here
Bruce Hearder is offline   Reply With Quote
Old 10-25-2009, 08:50 PM   #6
Wishing Everyone Success!
War Room Member
 
Join Date: May 2009
Location: Canada
Posts: 120
Thanks: 37
Thanked 9 Times in 7 Posts
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   Reply With Quote
Old 03-02-2010, 06:35 PM   #7
Advanced Warrior
War Room Member
 
jbode's Avatar
 
Join Date: Apr 2008
Location: Michigan, USA
Posts: 648
Blog Entries: 1
Thanks: 53
Thanked 149 Times in 103 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to jbode
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   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: 612
Thanks: 85
Thanked 221 Times in 110 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
lisag is offline   Reply With Quote
Old 06-23-2010, 06:57 PM   #9
Senior Warrior Member
War Room Member
 
magentawave's Avatar
 
Join Date: Aug 2007
Location: San Diego, California
Posts: 1,725
Thanks: 626
Thanked 42 Times in 35 Posts
Default Re: How Do I Take Out The Date From People's Comments On My WP Blog?

Here is a really helpful video on how to do this...

How to Remove The Post Dates from Your Wordpress Blog | Social Media Marketing Strategy for Small Business

The date_exclusion plugin only removes dates from posts but leaves them everywhere else. If you go to your comments.php page and do a search for comment_date and then add the same code before and after that she shows in her video then you will remove the date from your comments too. :-)
magentawave is offline   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 12:01 PM.