
For some reasons, there are times when you would prefer not to have the date displaying in your post. Cases where you do not update often or where you have a blog that is quite static and is just lying there to earn money, it would be good to have the dates of your posts removed. Though some also says it helps in SEO, I really do not know as I am no SEO expert.
To me, the most logical explanation is without displaying the day you posted, readers will not get the feeling that they are reading some outdated tips or stale news. This however is only good if you are giving evergreen tips and not seasonal ones. To remove the display of the date is published, you only need to remove a single line of codes in 2 places. One is your Main Index page which is alos your Home or Front Page. The other is your Singles post page or your Permalink page.
In your Theme Editor, open your Index php or Main Index php file. Look for this line of codes:
<?php the_time('F jS, Y') ?>
Select everything and delete it. The time and date posted will be no more.
Do the same in the Singles php.
Now you have what some people call, “A Dateless Theme”




Thanks!
if you are using a search box like one of my themes, you will also need to remove the in your search.php…otherwise the dates will be shown when your users do a search on your site…
cheers
jared
p.s. hope u dun mind me doing a backlink:)
Just don’t make it a habit. LOL.
And thanks for the reminder on the search php.
Am here via Lis’s site. Thanks for the great tip. I have been searching for ages in order to get rid of the dates. I kept thinking what is the use of having a site doing well that if the dates are all out of whack.
Thanks again.
Hi, tiptopcat.
Glad you found the tip useful.
Easier done with changing the permalink structure via dashboard > settings>permalinks>Common settings>set Custom Structure to /%postname%/ No need to fiddle with the code and easy to reverse. I wrote a lengthly article here: http://hospitalera.com/google-url/
SY
I hope that you don’t mind the link, but as you haven’t written about the SEO aspects of doing this and I have, I thought it might be a good additional source of information, but feel free to remove the link if you think otherwise
No the link is ok as it is a legit link so I don’t mind.
Buthen, I think you missed the point of this post. I’m talking about the dates in the posts. Not in the URL.
How easy is this? lol
I have tried and tried to figure this out, but never seen it explained so simply.
Thanks a bunch.
Susan