Fri. May 24th, 2019

AF themes Blog

Just another WordPress Blog

How to remove the date from WordPress Post?

4 min read
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.

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

remove the date from WordPress Post

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.

remove post date from WordPress using additional css

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;
}

remove post date in CoverNews

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.

remove the date from WordPress Post

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.

 

Leave a Reply

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