There may be all sorts of reasons why you would want to remove the date from your WordPress posts. Whatever the reason, it’s easy enough to do.
The Easiest Way
Probably the easiest way to do this is to install a plugin called WP Post Date Remover. There are no options on the plugin. Just activate it, and it will remove the dates from your posts, homepage, category pages, etc.
Featured Plugin - WordPress Google Maps Plugin
A More Manual Way
Of course you could take a more way by going into your theme’s files, finding the code for the date function, and removing it. You will want to look for one of these functions:
<?php the_date(); ?>
Or this:
<?php the_time(); ?>
When looking for these functions, keep in mind that they may not look exactly as they do above. They may look like this, for example:
<?php the_time('F jS, Y') ?>
Another thing to keep in mind is that you will need to remove the function from each template file you want the date to be erased from. (Appearance > Editor > *choose your file*)
These are the most common files where you will probably find the date function:
- index.php (maybe home.php)
- archive.php
- category.php
- single.php
- page.php
Make a Child Theme and Edit It
It is advisable to create a child theme and edit that instead of your original theme. If not, then any changes you make will be overwritten if the theme is updated. You will want to copy all the files mentioned above into your child them, and edit them there.
Featured Plugin - WordPress Membership Site Plugin
Photo: Calendar from BigStock
