How to Show or Remove Post Date of WordPress - KhalistaBlog -->
Skip to content Skip to sidebar Skip to footer

How to Show or Remove Post Date of WordPress

How to Show or Remove Post Date of WordPress - Being a very popular platform, WordPress is used by millions of bloggers as a blogging platform. If you are a blogger, it is likely that you may be confused by customizing your post date. Blog Date is active by default, but you can customize it to display or delete it as you see fit. In this article, I will discuss the advantages and disadvantages of WordPress Post Date of your blog, and I will also show you how to show or delete it.

How to Show or Remove Post Date of WordPress

Post Date Profit and Loss


The advantages or disadvantages depend on the frequency and consistency of your blog posts. If you update your blog with new posts regularly, this can be an advantage if you display the date. Dates can inform visitors about the regularity and consistency of your blog.

Conversely, if you are not regularly active through your blog, perhaps the best option is to delete the date from your blog because your visitors will not feel how so because your blog rarely update. Overall, the profit or loss of posting dates depends solely on your activity through the blog.

Displays the Post Date on your WordPress Site


Displaying the date on each post is a standard feature in most WordPress themes. Most themes offer layouts that allow the date of only the most recent posts to be shown, followed by titles and the rest of the posts. This format is preferred by many bloggers who update multiple posts daily. But, if you want to display the date of all posts on your blog, there are effective solutions that can be applied easily.

There are two methods of displaying the date on each of your posts. Based on the first method, you can show the date once in the entire list of post updates in one day. On the other hand, the second method allows you to display the date in each post.

Although the two methods are almost identical, the only difference that exists between them is a slight change in the code. You should use "the_date" in the code to display the date only in the latest post while "the_time" should be used to display the date in each post.

Code to display date:
<?php the_date( get_options ('date_format') ) ; ?>// Code to display the date in each post<?php the_time( get_options ('date_format') ) ; ?>

After using the desired code, please go to the Settings >> General menu on your WordPress dashboard. Here, you need to adjust the date and time format.

There you will see custom date "Fj, Y". It resembles a date can be displayed only once. If you use the "the_time" code, you will also see a custom "g: i a" custom format that adds a timestamp to every post. you can change the code to "Fj, Y" to display every date of WordPress post.

Removing Post Date From WordPress Sites


Not everyone wants to show the date of posting on their blog. If you include people who do not like it, you can follow one of several effective steps you can use.

1. Delete Post Date Using Plugins
Using plugins is the most preferred technique for removing posting dates, you can download and install plugins to remove dates from your posts, all you have to do is install and activate the Post WP Post Remover plugin. This plugin automatically deletes dates from posts, pages and sites.

Although this plugin has not been updated since 2012, but it still works pretty well in removing dates. The only gap in this plugin is that it does not remove hours from some wordpress themes like Twenty Thirteen and Twenty Fourteen.

2. Delete Post Date in Manual
This is the relative lengthiest process between the three methods of removing the posting date of your blog. However, it was followed by many developers because it involves manual configuration only.

First of all, you need to open a directory containing your WordPress Theme source file. How to go to the Appearance menu >> Editor and open the file" single.php ". Once you find the file, locate the date function and delete it. It can remove dates from all posts on your WordPress blog.

3. Delete Post Date Using Code
Maybe this is an easy way to remove post dates from your WordPress site. All you have to do is to add the following code in your style.css file by going to the Appearance >> Editor menu.
.entry-date {  display:none;}
Please use this method, as this is the easiest way to delete your WordPress Post Date.

These articles I can share about How to Show or Remove Post Date of WordPress, hopefully with this short enough article can be useful and useful. Good luck.

1 comment for "How to Show or Remove Post Date of WordPress"

Provide comments relevant to the posted articles and provide critiques and suggestions for the progress of the blog