WordPress by default has the functionality to display dates, author and category on all posts. This is also called post meta information or simply post metadata. Although it is good to keep this information displayed but sometimes bloggers want to hide it for certain reasons and there is no default solution to remove dates in WordPress posts.

It is recommended to check your theme settings first if there are any related options to disable date and author information.

In this article, we will see how to easily hide date post-meta information from WordPress posts. Before making any changes to your blog, it is always a good idea to backup WordPress database and files.

Once you are done with the backup, it’s time to see how to remove date from WordPress posts.


Hiding WordPress Post Date with a Plugin

We know the first option for beginners is always to use a plugin and that’s why we have kept this option first.

There are many WordPress plugins available to remove date and author from posts but we will discuss only three which worked for us.

  • To remove date from posts in WordPress default themes like Twenty Seventeen, you can use WP Author, Date and Meta Remover. The plugin is very simple. Just install and activate and it will work out-of-the-box. No settings required.
  • Another WordPress post plugin to hide date is WP Meta and Date Remover which claims to work on most of the themes available in the market including WordPress default themes.
  • For us, the perfect solution to hide date and author infomation was a plugin SiteOrigin CSS. It is recommended to use this plugin if any of the above plugins didn’t work for you.

The plugin is not specially designed for hiding dates in WordPress posts but an overall solution to customize CSS of your WordPress theme. We will take advantage of this plugin by finding the div class which holds the date and author information and then hide it.

wordpress plugin siteorigin

  • Click the tiny Expand button on the far right hand side. Clicking the button will open your website’s preview.

siteorigin css expand button

  • Click the date to know it’s div class. You can see in the image below, it’s .entry-meta. Your div class could be different depends upon the theme you are using.

siteorigin css date

  • Now click the class name (.entry-meta). It will open it in the left hand column to edit it. Add display:none and click the Expand button again to exit preview mode.

wordpress css code editor

Click Save CSS button at the bottom. It will effectively hide date and author information on WordPress front-end.

siteorigin save css button

Manually Remove Date from WordPress Posts

If you want to dig deeper to see how to remove WordPress posts date manually then read along. You will be amazed to see how simple it is to do it even manually.

  • Once you know the div class from the method above. Add the display:none code using WordPress default CSS editor available under Appearance > Customize > Additional CSS. It will do the same trick. You can deactivate or delete SiteOrigin plugin now. The code will still work.
div class search
div class search

The other more advanced way is to find div class manually.

  • Using Chrome browser, right click on the date of your WordPress post and click Inspect.

chrome browser inspect

  • Look for the immediate div class name above the date information.

chrome div class

  • Once you know the class name, add the following code (replacing with your own class name) in WordPress admin dashboard > Appearance > Customize > Additional CSS.
.entry-meta {display:none;}
  • The above CSS code to hide date and author information will work out-of-the-box.

The methods we discussed above will effectively hide date and author from WordPress posts and we hope you will find this article useful and working for your own blog.

If you still have any questions do let us know using the comments section below and don’t forget to follow us on Twitter and Facebook.

Gimme a Share pleeeaase!

Pin It on Pinterest

Share This