How to remove the date stamp on a WordPress 3.0 blog

January 25th, 2011 by admin Leave a reply »

If you hop across to Toys for Kids, you’ll know exactly why you might not want a date stamp on some sites you create. Here are 3 reasons anyway:

  1. The sites stay fresh without dates
  2. They look like commercial sites, not like personal blogs
  3. They don’t betray the thought sequence of their owner

So, today I learned how to remove the date for the wordpress blog mentioned above. Of course Google was the starting point but you know what… (?)… all the discussions I found were dated. They applied to 2.x versions of WordPress. And here I was on 3.0.4 and nothing was working. Frustrating.

I found a couple of plugins and they didn’t work either. Over time I figured that these edits are theme-specific too. So all I can state with reasonable conviction is that if you’re using the theme ‘Clearstyle’ and you want to remove the date and time stamp, you can do what I did.

How to remove the date from your WordPress blog

There are 3 files you’ll have to work on in the ‘editor’ menu (under appearance) in your WP 3.0 dashboard.

  • Single.php
  • Page.php
  • Loop.php

One by one, copy the code in each of these files into separate notepad files. Save them. Now if anything goes wrong you will be able to copy-paste back the original code and your blog will run just fine.

Next, one by one, search for the code below in these files:

<td class=”clearstyle_calendar”>

<div class=”entry-meta”>

<?php clearstyle_posted_on();?>

</div>

</td>

When you find these lines of code, delete them and save each file. After you delete them in the Single.php file you will not see the date stamp in your posts. When you operate on Page.php you will remove the date from wordpress pages. And when you delete the code in Loop.php you will get rid of the date on the home page entries. That’s it… you’re done!

Now if you’re doing this with any other theme, I would like to know whether the same code and files worked. Please share your comment here. Trust this will give better initial direction anyway 😉

Advertisement

1 comment

  1. Grace says:

    Hi, thanks for your help, but unfortunately I was unable to find the code in neither my single.php or in my page.php file. I wasn’t even able to find my loop.php.

    Thanks anyway

Leave a Reply


Warning: gzdecode(): data error in /home4/sandeep/public_html/wp-content/advanced-cache.php(1) : runtime-created function(1) : eval()'d code on line 29