WordPress Hacks – How to Remove Date from Posts

By | June 13, 2009

If you want to remove date from appearing on your blog posts, just delete the following snippet of codes from the /wp-content/themes/index.php page.

1
2
3
<div class="date">
<p><?php the_time('F j, Y'); ?></p>
</div>

If your theme has single.php, page,php, archives.php, find the codes and delete them too. As always, please make a backup of your files before deleting/editing anything.

wordpress-date-remove

On this site, we have the date displayed.  But there are cases when you don’t want to display the date.