Need code editing help to remove the Date on each page?


Author Message
Eddiem

Posted: 2/3/2009
Quote message 

Hi can anyone tell me what code in what area i need to edit to remove the Date posted information from Pages.

For pages that almost never change i would like to not show all the Posted date info. and the posted by info.

Thanks
 
Dan E.

Posted: 2/3/2009
Quote message 

Hello, you want to be looking for this code in page.php

<?php the_time('F jS, Y') ?> 
(or similar)

but there will also be images you might have to comment out as well

As always, back up your files before you do this.
 
Dan E.

Posted: 2/3/2009
Quote message 

Note the above is for Wordpress. Joomla and Drupal will be different.
 
Gail

Posted: 3/1/2009
Quote message 

Eddiem, I'd like to thank you for asking this question, I was just coming to find out how to get rid of the date on the pages, although I'm not sure why it would be there at all, doesn't make sense to me!!!!!!!! :-X

Dan E. thank you for the solution.

Gail
 
Dan E.

Posted: 3/1/2009
Quote message 

Quote Gail:

Eddiem, I'd like to thank you for asking this question, I was just coming to find out how to get rid of the date on the pages, although I'm not sure why it would be there at all, doesn't make sense to me!!!!!!!! :-X

Dan E. thank you for the solution.

Gail

Glad I could help!!

 
Marc Smith

Posted: 3/2/2009
Quote message 

In CMS systems, having the date on posts or pages allows a user to instantly see how "dated" the material is, as well as allow them to see if the material has been recently updated.
 
Dan E.

Posted: 3/2/2009
Quote message 

Quote Marc Smith:

In CMS systems, having the date on posts or pages allows a user to instantly see how "dated" the material is, as well as allow them to see if the material has been recently updated.

Marc, I agree but I usually remove the date for static type content but keep it for any blog / News type stuff.

I think it depends on the type of site. I've built Wordpress sites that were really just a brochure for a company ("About Us" "Contact" etc...) and then with "news" pages that really was the blog part of it leaving the date in for the latter.