Here is how to remove date from post in WordPress
Post information is important for blogs. Webmasters update the blog information as soon as there’s any content update came out. But there are some blogs in which content frequency is little low and posts don’t go live on regular intervals. If the blog is performing well and getting ranks in SERP for targeted keywords, then it won’t look nice that the post is appearing with old date. For example my blog is getting rank on “How to Write SEO Friendly Content”. As you can see in given below example, the post date is available there.
It has nothing to do with rankings but it would be a good practice to adjust the date according to website. I like to write answers based on SEO questions, One of the guy asked this question me on quora. He asked whether it is possible to remove date from post in wordpress without the plugins. It was a good question and I decided to answer it. Today, I am going to share few good steps which can help you to remove date from wordpress post and pages.
Meta data plays an important role in ranking of any website or blog. Most of the time webmasters decide what they want to represent in meta. But sometimes people who are not familiar with technology are not able to control it. WordPress is a Content Management System (CMS) in which users could design and publish blogs without technical assistance. Meta Data can be controlled by webmasters but handling hidden parameters are not easy for a non technical webmaster. In this lesson, we will learn about steps which could solve these little problems and removing date from meta data while using wordpress is one of them.
Let’s understand the solutions.
Solutions 1: Use a Table or Layout
Use a table or layout as a home page instead of using a static page. Do not use a “Page” as your homepage. If you use page then search engines will automatically grab the post date or page creation date and show in SERP. For example, I am using a template with bunch of pages and call to actions as a layout on my blog TheSEOGuy. That’s why if you search for my blog, only the posts would show date but the homepage would not show any date in SERP.
Solution 2 : Add custom CSS
Second option is to use custom CSS code to overwrite the functionality of Date. You can add small custom code to remove page or post info. For this you can follow given below steps.
- Login to your wordpress dashboard
- Click on appearance
- Chose Customize
- Now Click on Additional CSS
- Now paste given below code in additional css box
.entry-date{
display:none;
}
- Click Publish.
- This function will remove date from your wordpress post.
Solutions 3: Use of stylesheet
You can also use child themes and adjust the stylesheet to remove post info which will help you to remove date from your post in wordpress. It’s quick and easy solution to remove the date from your posts. Simply create a child theme and add the following snippet to your newly created stylesheet:
{code type=php}
.entry-date {
display: none;
}
{/code}
This code will remove both the date and the clock icon that displays next to the date on themes
However, if you are new to blogging and don’t know how to play with codes then you can also take help of plugins.
Solutions: Adding Plugins
There are lots of plugin available which can help you to remove date from wordpress post. So far I’ve tested two plugins which seems fine and working good for me.
Install any of above listed plugin and active it. It will remove the dates from your wordpress post and adjust the page info.
You may also like “How to enable Robots.txt file in WordPress”.
Hope these steps would help you to remove date from wordpress post. If you have additional steps then do share with us. Do comment below your feedback and suggestions for this information. Keep exploring TheSEOGuy for more Latest SEO Tips.
Discover more from TheSEOGuy
Subscribe to get the latest posts sent to your email.