How To Remove The Dates From WordPress Themes

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

If you want to use WordPress for more of a static site that is updated infrequently removing the dates from your theme could come in handy. To remove the date you need to find where the date is referred to in index.PHP and remove that line. It will probably be a line between 2 div tags that refer to a date in some way.

Also remove the date instances in single.PHP and archive.PHP. If you are afraid of removing the wrong thing and ruining your theme. You can use comment tags instead. This will make the lines still readable but whatever is between the tags won’t run.

/* These tags can be used to comment something out in PHP */

Now for the Good news. I just discovered a Date Exclusion WordPress Plugin over at Daily Blog Tips. This just might be the answer for those of us who don’t feel completely comfortable poking around in our themes code. I haven’t used it yet. But it might be the safer option I’ve been looking for. 

Popularity: 26% [?]

You may also like.

RSS Feed for This Post12 Comment(s)

  1. David Leonhardt SEO Consultant | Sep 5, 2008 | Reply

    This is a superb post because it takes people where they would not normally go. I actually found myself recommending to a couple people this last week that they use WordPress for their websites, because they wanted to put together sites with several categories (like “tags” in WP) and be able to quickly add items themselves. WordPress is the ideal CMS for something like this.

    David Leonhardt SEO Consultants last blog post..BrowseRank Strategies - Quality Web Site Design

  2. Emma | Sep 5, 2008 | Reply

    Thanks David, I guess I finally wrote something worthwhile. :smile: I appreciate the kind words.

  3. top colleges | Sep 8, 2008 | Reply

    This is a really nice write up. Thank you for the post. Your blog is a great resources for the blogging community. I learn from you constantly.

  4. Katie | Sep 9, 2008 | Reply

    Thanks Emma great post comprehensive, well written and to the point. Learned a lot from your post.

  5. Grandmapeg | Sep 11, 2008 | Reply

    Got here through your comment and title of your last post. Very specific and good to know.

  6. complaints | Sep 13, 2008 | Reply

    Thanks David, I guess I finally wrote something worthwhile.Emma; great post comprehensive, well written.I like your topic as well as your post.Thanks for sharing this in your post with us.

  7. Far Cry 2 | Sep 17, 2008 | Reply

    Firstly thanks for sharing, Secondly you blog design is excellent some blogs have way to much advertising and are hard to read. I wish your site the all the best for the future.

    Kind Regards Loren

    Far Cry 2s last blog post..Far Cry 2 the movie ?

  8. Online Loser | Sep 21, 2008 | Reply

    Thanks for the tip. I have been thinking about taking out the dates, since I am almost too embarrassed to show them.
    I did not exactly search for a way to do it, since it just crossed my mind. And here I am. Found it without looking!

    And at the same time, found an interesting blog. I think I’ll hang around a little longer.

    Thanks!

    Online Losers last blog post..10 ways to lose money online

  9. Emma | Sep 22, 2008 | Reply

    Thanks online loser. I like your site too. I’m still trying to master all of the coding skills. It just makes everything easier if you know how things work.

  10. Hosting Reviews | Sep 22, 2008 | Reply

    Wordpress is great and can easily be turned into a customized CMS or even a Wordpress powered review site now. The software is by far the best for being free!

    Hosting Reviewss last blog post..Web Hosting Pad Customer Hosting Reviews

  11. XL Roger Hamilton | Oct 17, 2008 | Reply

    This is an informative article. Thanks for sharing the useful information. Very helpful to me.

  12. 办公家具 | Nov 18, 2008 | Reply

    good thanks a lot. perfect!

RSS Feed for This PostPost a Comment