PDA

View Full Version : Remove dates on comments in Wordpress



Ellen C Braun
January 18th, 2010, 09:18 AM
Do you know where I'd go to remove the dates on all the comments in my wordpress site- www.raisingsmallsouls.com

I found instructions to remove the dates in the actual posts, now I want the dates in the comments removed as well!

Thanks!

Ellen

wade_watson
January 18th, 2010, 01:27 PM
To do that, you'll need to do some code hacking of your theme. Theme code is not standardized and names and locations of things vary. That means it takes some php/html knowledge and some trial and error effort. If your theme has a "comments.php" file, it's probably in there, but that's about the closest I can get for you. Sometimes you may have to change code in more than one part of a file, too. And it can be in more than one file. When you find the likely location, delete the entire php command that starts with "<?" and ends with "?>". Be sure to back up the file, in case you have to try a few times before you find the right one.

I wouldn't be surprised if someone's written a plugin that will do this, but I couldn't find one in a quick search. I just found a couple of plugins that will remove the date from posts.

Wade

Ellen C Braun
January 19th, 2010, 10:44 AM
Thanks, Wade!

I ended up just changing the dates on my old comments to yesterday's date- so it looked current!