How to delete wordpress dates
wordpress 12 CommentsA few people have asked “how do I delete dates on my WordPress blog” and we’re going to cover that today.
Why would you want to do this anyway?
Well maybe you’ve bought a load of content and want to post all at once. But, the issue is, you don’t want it to look like you’ve just posted 20 articles to your blog which it will because the footprint are the dates.
Maybe you just don’t want the dates there.
MAybe you want the dates removed from your “PAGES” so they look more static.
Whatever your reason is, it’s an easy fix… Let’s get to it.
How to remove the dates from your posts and other places in your blog is done by editing your theme.
Always backup your theme just in case you mess something up, you can always re-upload your theme and get it right back to the way it was before you touched it.
If you need to learn how to backup your theme, leave a comment and I’ll teach you how.
OK, go ahead and login to your wordpress’s admin panel.
Find the link called “Design” and you’ll see a sub-link called “Theme Editor”. Click on that.
You should now be looking at something like the following.

1 shows, you are in the theme editor.
I’m going to remove all the dates from my blog here at idiotproofblogging.com so I will start with “Page Template” by clicking on it (2).
Now I check to see if the page loaded by looking in the title (1).

Don’t freak out about all the code you’re now looking at.
What you’re looking for is the following:
<?php the_time('l, F jS, Y') ?>
Now change it to the following
<!--<?php the_time('l, F jS, Y') ?>-->
All you’ve done is added the following to the beginning
<!--
And the following to the end
-->
This is how you remove dates or anything else you want removed from your blog pages or posts.
Now just scroll down to the bottom and click “Update File” then go to a page to see if the date was removed. It should be
If you want, go through each php page listed in the sidebar of your theme editor and do the same step above.
Make sure to clear out your internet browser cookies and hit refresh. Because if not, you may not see the changes and blame me saying it didn’t work.







Craig, thanks for the post. This was the question that I emailed you about earlier.
Frankly, this does not answer my question.
Yes, I can see how you can edit the page template for th whole blog, but my question regarded those pages which I would like to make static: “About” “Contact” “Privacy” etc. Specifically, I would like to either remove or surpress the date/permalink displays on those pages only. Not the whole blog.
I’ve tried to edit the post function, but I must be doing something wrong since I can’t.
And if the explanation that you’ve provided is what I should use, then how will I get the date/permalink data on my “regular” pages??
Finally, my “other” question which concerns making the first post on my Home/index page “static” like you have on your home page. An area where I could insert a “sticky” welcome post (w/o permalinks, etc.) while maintaining the “normal” look of the blog below that intro.
Man, hope this is clearer than mud!! Anyway, I’m trying…
Jim
Hey Jim,
You can not only remove what you want to remove from just a few pages. It has to be all or none. We are not talking about posts here. Just pages.
Am I right in saying you only want to remove stuff from a few pages?
Craig, yea. You’re right.
And, BTW, I really, really appreciate your patience and guidance with helping all of us on our journey. I would not have wanted to sound strident by any means, so, please, don’t think I was.
Yes, you’re right. I only want to remove the stuff from, on my blogs, what will be my “static” pages, as well as, the very first post on my “home” page: much like you have on your home page only.
Again, please accept my sincerest thanks for your personalized help to all of us “out here.”
Jim in Atlanta
We are only talking about pages (please).
You can not remove permalinks from one page and not all.
If you want one page static, all pages must be static.
Static pages should be limited to pages like about, contact, terms of service, etc…
I understand your frustration… We all go through that when trying to figure stuff out.
Your whole blog will not be static because most of your blog’s content will consist of “Posts” not pages.
We are not even talking yet about your main “sticky” page like the one on my blog.
Let’s get your pages cleared up first.
Craig
Jim-
Fantastic help provided here. I have a strange situation. I used the info you provided with a previous theme with great success but am trying to set up a new site.
The new site does not have “php the_time” anywhere in the page template screen. I eyeballed it then did a ctrl+f just to be sure. Any suggestions?
Try ctrl=f then search “date”. Let me know how that goes Jim.
A few people have asked
A few people have asked
A few people have asked
I am new to wordpress, as in yesterday, and I can’t even find the link called “Design” or “Theme Editor”.
I’ve tried messing with “Theme Options” but I can’t find a page that looks like the one you have posted.
Can you help guide me?
Hi Grace,
I’m not 100% sure what you are referring to. Don’t be shy about clicking around in your WordPress admin. For starters, look to the left within your admin dashboard and click on a drop down menu called “Appearance” then under that you’ll find “themes” and Editor”.
Have a look at this video “contact form 7“