
Are you a blogger? Do you want to remove the date from WordPress post and make your post always new and fresh? Lots of bloggers and site owners don’t want to show the date published date and want to hide it. Well, in this blog post we are going to share you about how to remove the date from WordPress post.
Sometimes lots of blogs have posts with are not time or date oriented. In that scenario, removing or hiding the post is very important.
All of the premium themes crafted by AFthemes has options to remove the date in the single, archive as well as home page. However, some free WordPress themes lack this feature. In this case, you can either the premium version of themes or need to customize the theme codes.
But in the beginning, we recommend you to check the default WordPress settings of removing date in WordPress posts.
Best methods to remove the date from WordPress Post
Well, there are various methods to remove the date from the post. You can either dashboard settings, use plugins or customize the theme code.
- From the Admin Dashboard
- Plugin Approach
- CSS Method
- Theme Code Edit
From all the above-listed method we recommend you to go with the first approach i.e. from the admin dashboard. You don’t need any coding expertise to do it.
Remove Date from Admin Dashboard
Removing date from WordPress post is very easy from the admin dashboard.
- Go to the admin dashboard
- After that, go to Settings > General
- On the date format section, select Custom and delete whatever is there and click on Save Changes.
With this method, the date from WordPress post will be removed easily. Besides this, we have some more approaches to hide the date from the WordPress post.
Plugin Approach
There are the various free WordPress plugins available for removing the date from the WordPress post. However, among them, you need to choose one best which will perfectly work for you. For this case we recommend you to use WP Meta and Date Remover WordPress plugin.
- From the admin dashboard go to plugins
- From plugin, section go to add new
- Search plugin name WP Meta and Date Remover
- Click on Install and then activate it.
- Finally, you need to check the available settings of this plugin.
Hope, you are able to remove the date after using this plugin. If your problem is still the same, drop your problem below. We will guide you with a possible method. Before that, you can try the below CSS method as well.
CSS Method
With this method, you can hide the date section from your post. You need to find the CSS code first, what to add and then add that code on Appearance > Customize > Additional CSS section.
Even if the theme code is not altered, the below code will easily work for you. Otherwise, you need to find the exact class for removing the date. At first, try adding the below codes on Additional CSS section.
.entry-meta .entry-date.published {
display: none;
}
Or you can try this CSS as well.
.entry-meta {
display: none;
}
We believe that the above CSS codes will help to remove the post date.
How to remove the post date in CoverNews theme?
If you are using our free WordPress theme CoverNews and want to remove it from the post, you can use this CSS codes.
span.posts-date {
display: none;
}
Are you still in problem removing it? Drop your comment below.
Theme Code Edit
Another best method to removing post date is by editing the theme code. Nevertheless, with this theme code edit method, we prefer removing from admin dashboard and CSS method. If you are familiar with the theme codes, you can edit the post date code from the content.php file of the theme.
- Go to Appearance > Theme Editor
- Choose the theme which you want to edit from the dropdown
- Choose the template named content.php from the template-parts folder.
- Find the code for the date. See the below screenshot for the reference.
- Remove the selected part as shown in the screenshot and save it.
Note: Before editing the file, make sure you have a backup of your theme or website. In case of a problem, you need to restore it. Child Theme is highly recommended to customize the theme code.
Conclusion
We believe that you are now able to remove the date from WordPress post. Likewise, you can also delete other meta fields like category, tags, author, etc.
Don’t hesitate to comment us below if you have any queries.
Thank you! Solved my problem quickly.
Very helpful, thank you.
Wow, i’ve searched for this so many times and somehow never saw this post.
in under a min my dates are gone.
THANK YOU!!
thanks 2nd method worked I tried pluguin but not worked then another css. But at first try it made quickly.
Hi! Great post. I have one doubt though: is there a way to hide the dates only on the homepage? It’s ok if they see the date when the click on the post, I just don’t want them to show on the home.
Thanks!
For My site the above codes are not working out. Please assit me in this regards. Thank you.
Thank you, going to see if this works. I am mostly trying to remove the date from showing up in the SERPs on posts that I continue to update.
Was using Yoast SEO all the time but I use Rankmath on recent newly set websites. Gonna see and compare how they both work 😉
I Very new in Project lIke changing Colour and Remove Date. Blog is Very helpfull to change for Better user Experence
Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’t wait to read more posts.
Is it good for seo to hide Date and Time in wordpress post?
Nice and amazing article admin thanks for sharing
I Install The WordPress On My Site And Finding The Solution That How To Remove Date From Post Found This Article And I Follow The Steps And Remove The Dates Form My Posts
Thank you for very helpful post.
Thank you! I knew this was how to do it but tried the above CSS method, which works on the main body teaser displays but not on sidebar.
Was using Yoast SEO all the time but I use Rankmath on recent newly set websites. Gonna see and compare how they both work 😉
For My site the above codes are not working out. Please assit me in this regards. Thank you.
Thanks for sharing this information.