How to Remove Date from Your WordPress Posts

How to Remove Date from Your WordPress Posts

Do you want to hide autor and date from posts?

If you don’t regularly update your WordPress posts then It’s better to remove the date from your all WordPress posts. Apart from that we can also hide author from posts by using plugin and CSS methods.

Today, we’ll learn how to remove date from your WordPress post to make it all new and fresh.

Remove Date from Your WordPress Posts

There are several ways to hide date and time from your post. We’ll discuss three method to hide dates from posts. They are as follows:

  • From WordPress dashboard
  • Removing date with the plugin
  • Removing date with CSS

From WordPress Dashboard

This is an extremely easy and quick method to remove date from posts in WordPress.

Remove-date-from-posts-via-dashboard

  • Go to Settings>>General.
  • Then scroll down to date and time format section.
  • Now, click on custom and delete the content of the box adjacent to it as shown in figure.
  • Hit on the save button to implement the change.

 Note: In case the coding structure has been changed by the developer then his method might not work. Simply try other methods listed below:

Removing Date with the Plugin

We can also remove date via using plugin. This is the most beginner-friendly approach. I am going to use WP meta and date remover plugin for the sake of this tutorial. 

  • Before we start, install and activate the plugin.
  • Then navigate to Settings>>WP meta and data remover.
  • Click on the enable slider to enable the plugin’s individual option.

hide-date-from-WordPress-posts

  • Enabling PHP option will allow you to remove the author and date from backend permanently.
  • Similarly, enabling CSS option will hide date including all text and icons from the meta data using CSS.
  • Once you have finished choosing options, scroll down and click on save changes.

Removing date with CSS

This method is useful to remove not only author and date but also other metadata like comments, categories, tags etc.

  • Login to your WordPress dashboard.
  • Navigate to Appearance>>Customize>>Addiotional CSS.
  • Copy-paste the following code. I have tested this code on default themes and it works just fine.
  • Finally, click on publish to save the changes you made.
.entry-meta .entry-date.published {
display: none;
}

Or you can also try the alternative code given below.

.entry-meta {
display: none;
}

remove-date-using-CSS

And you’re done! You have successfully removed author and date from WordPress post.

Final Thought

Now that you have learned how to remove date from your WordPress post, go give it a try! You can also follow us on Facebook and Twitter. 

If you liked this post then subscribe our newsletter.

You might also like to read other relative articles.

Leave a Reply

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