If you don’t update your website regularly, it can also be helpful to remove the date – posts with older dates may give the impression that your content is out of date. I’ll show you a few ways to remove your posts from the date.

How to Remove the Date With a Plugin

If the data from the post is removed, then WP Meta and Date Remover are the easiest way to remove the date. It has 70000+ installations on WordPress and it works well. You can remove your meta with this plugin. There are two ways of removing the meta from the posts.


  1. Install and activate the WP Meta and Date remover.
  2. Choose the hide from Backend or Frontend or Both
  3. Save changes and you have done!


This plugin uses two methods to delete your meta.

Removal using the CSS file

Plugin register custom CSS which hides any information contained by metadata class.
This plugin provides a CSS file and you can also edit it in the plugin editor.

Removal using PHP

The Plugin filters results of functions like get_date(), get_time() etc.
In some cases, the CSS file does not work, which is why PHP code is used to remove it.
Plugin removes Meta data from the source code. Which means even search engines can’t see it.

How to Remove the Date With Code

It’s very easy to remove the date from your posts. Simply create a (child theme) and after that add the following snippet to your newly created stylesheet:

{code type=php}
.entry-date {
display: none;

This code removes the date and the clock icon next to the date on topics such as Twenty Fourteen and Twenty Thirteen.

I tested for this code all the default WordPress themes. Although it removes all the theme dates completely, it does not remove words like “Posted on,” usually published before the date on the Twenty Ten and Twenty Eleven themes.

Click Editor in the admin sidebar and open functions.php to remove the additional words for Twenty Eleven. Search for the text “Posted on” and the following code will be found:

Remove Date from Your WordPress Posts

Delete “Posted on.” Maybe you want to capitalize on “By,” so the front-end looks good.

Similar Posts

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

3 × three =