How To Remove A Date From A WordPress Post | Quick & Easy
Last Updated on June 4, 2021
In this post, I’m going to be going over three different ways on how to remove a date from a WordPress postย quick and easy.
I’ve also provided a videoย tutorial below that walks you through the process on how to remove a date from a WordPress post step by step in under two minutes.
ย Pin Image To Pinterest
Reasons Why You’d Want To Remove Dates From WordPress Posts
Some common reasons you might want to removeย dates from yourย WordPress posts is if post dates are not relevant to your audience, or you do not update your posts regularly.ย
If your blog isnโt updated regularly, there is the scareย between bloggers and companies that yourย audience might see the date the post was published andย not want to read on because it is considered outdated.
If you don’t want to completely remove dates from your WordPress posts, you ought to read our postย on how to backdate your WordPress posts.
Video Tutorial: How To Remove A Date From A WordPress Post
How To Remove A Date From A WordPress Post With A Plugin
One of the easiest ways to remove a date from aย WordPress postย is by installing the plugin WP Meta and Date Remover.ย Once you get the plugin installed and activated you want to click the Settings link next to the plugin on the plugins page.ย
You then want to select the “plugin will not hide Metadata classes of Theme” like you see in the below screenshot and hit save changes. Congrats! That is all you have to do when using this plugin to remove dates from your WordPress posts or pages.
How To Removeย Aย Date From A WordPress Postย In Your WordPress Dashboard
From a WordPress post or the WordPress blog page you will see the date listed under the post image and post title like the image provided below.
You want toย head on over to the WordPress dashboard and hover over the settings tab and then click on the General tab.
Scroll down towards the bottom of the General tab, and you will see date format. You will see the field custom. You want to select the custom bubble and remove any information showing in the field next to it.
Click the save changes button at the bottom of this page and then go back and review your post page, and you will no longer see the date.
Removeย Aย Date From A WordPress Postย With Code
Even if you’re a newbie at WordPress and might not know a lot aboutย code removing a date in a WordPress post is easier than you might think. Head over to your WordPress dashboard. Find the appearance linkย over on the left and then click on editor. You want to add the following code to your theme’s functions.php file. You want to place it at the top of the file, just make sure it’s after the opening line<?php
.
You want to make sure you have WordPress 3.0 or above before adding the below code.
function jl_remove_post_dates() {
add_filter('the_date', '__return_false');
add_filter('the_time', '__return_false');
add_filter('the_modified_date', '__return_false');
} add_action('loop_start', 'jl_remove_post_dates');
ย Check your site, and you should see that your posts dates have been removed. If they’re not, replace the code above with this code below, and it should remove the dates from your WordPress posts.
function jl_remove_post_dates() {
add_filter('the_date', '__return_false');
add_filter('the_time', '__return_false');
add_filter('the_modified_date', '__return_false');
add_filter('get_the_date', '__return_false');
add_filter('get_the_time', '__return_false');
add_filter('get_the_modified_date', '__return_false');
} add_action('loop_start', 'jl_remove_post_dates');
Final Thoughts
We hope this article helped you and showed you how to remove aย date from aย WordPress post or page.
Let us know in the comments below if you were successful! We would love to hear from you.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
- How To Remove Bluehost Coming Soon Page? - January 2, 2025
- Bluehost Node.js Hosting 2025 - January 2, 2025
- Namecheap Black Friday Deals 2024 - September 4, 2024
Hi, wp meta and date remover and other plugins don’t work with urls containing date; dates still are in search result. What to do? I don’t want to change permalinks.
Thanks for reaching out. I know you don’t want to change your permalink structure but I don’t know of a plugin or a way to do it without doing so. With your date being included in your permalink you’d want to change your permalink structure in WordPress. If you install the Simple 301 redirects plugin when you change your permalink structure you can have the old permalink redirect to the new one. This will also tell search engines this is a permanent change. You’d want to make sure any posts or pages that mention this post are changed to the new permalink structure.
Thanks for this post. I had been wondering how to do this for a while now. It’s easier than I thought!
You’re welcome! Glad you found it helpful and easy!