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

how-to-remove-a-date-from-a-wordpress-post

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 | Quick & Easy

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 RemoverOnce you get the plugin installed and activated you want to click the Settings link next to the plugin on the plugins page. 

 

wp-meta-and-date-remover-settings

 

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.

 

wp-meta-and-date-remover

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.

remove-a-date-from-a-wordpress-post

 

You want to head on over to the WordPress dashboard and hover over the settings tab and then click on the General tab.

 

wordpress-dashboard-settings-general

 

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.

 

wordpress-general-settings-date-format

 

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.