You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Comments Date

UserPost

7:01 am
June 5, 2009


aprilv

New Member

posts 2

1

Just 1 day into flexibility theme and the possibilities seem endless.  I have a question. I am using WP-Answer to generate content and i would like delete the comments date ( comments to still appear though).  I cannot seem to locate it ?  any advise  thank you

april

7:42 am
June 6, 2009


Ryan

Admin

posts 1523

2

You can add the following line of code to the end of your style.php file and it should remove the date. Make sure to go into your theme settings and click a Save Changes button to rewrite the style.css file though. Otherwise the style.php change won't be noticible.

.comment-meta {display:none;}

3:57 am
June 8, 2009


aprilv

New Member

posts 2

3

Thank your prompt reply. 

But when you add that code

comment-meta {display:none;}

it would still be visible when you view the page thru source.

any way to delete the dates permanently ?

thank you

april

6:45 am
June 8, 2009


Ryan

Admin

posts 1523

4

You'll need to edit the comment-template.php file in the wp-includes directory.

12:27 am
January 14, 2010


kangenguru

Member

posts 3

5

Ryan said:

You can add the following line of code to the end of your style.php file and it should remove the date. Make sure to go into your theme settings and click a Save Changes button to rewrite the style.css file though. Otherwise the style.php change won't be noticible.

.comment-meta {display:none;}


This is a great workaround.  Is there a way for future versions to have this as an option to set Yes/No in the Flexibility Theme Options page – just like the date and time for posts?

9:19 am
February 1, 2010


Ryan

Admin

posts 1523

6

The next theme that will be released has support to completely remove all comments function so you don't even know you're on a blog.