How to remove dates from WordPress posts

January 14, 2008
By

I don’t only use WordPress to power this blog you’re reading.  It’s also my first choice when I’m setup a new website in a niche. The main reasons include:

  • Google Loves WordPress
  • Using Cpanel it’s super easy to setup
  • Many cool free themes to use
  • That’s the just my top three-many more benefits for using WordPress!

I’ve now been learning how to make my niche sites look like a “regular” website instead of well-like a blog (like this one) so my niche sites are looking much better.  One important factor is to make sure you remove dates from the posts.

As you can see from this post, the date I wrote it is on the post.  For a blog like this-that’s perfect.  You want to leave dates but not for your niche sites.

You see the whole purpose of niche marketing is to setup a site but once it’s up and running you don’t have to tweak it much.  But if a date is attached to the post the site will soon look outdated which will hurt sales.

The good news is that it’s very easy to remove the dates from your WordPress niche sites.  All you need to do is remove this code from your site:

< ?php the_time(‘F j, Y’); ? >

From your theme editor in your WP dashboard look for that code in your single.php and index.php.  Than just delete it.  And you now will have the dates gone.

I posted the above as an answer to a post and was then directed to a post from Teli Adlam that she posted on the Warrior forum.  She went into more detail in this post.

If you want learn more about niche marketing, I suggest Andrew Hansen’s Niche Marketing on Crack.  The best e-book on the market about setting up WordPress powered niche websites.  That’s the e-book I read and follow for my niche marketing sites.

Keep In Touch!

Get the latest updates, news, tips, reviews, podcasts, interviews, & more. Don't worry, I won't hammer you with crap emails...

11 Responses to How to remove dates from WordPress posts

  1. Alex on January 19, 2008 at 8:26 pm

    Hey Alan thanks for the great tip I was always wanting to know this! Just a question thought…do you know if this will work if i use the timestamp option in wordpress? I quite often set up all my post weeks in advance so they post automatically in the future.

  2. Alan on January 22, 2008 at 10:40 pm

    Hi Alex, the time stamp option should still work just that once the post actually is published the date will not show.

  3. Lailah on November 26, 2008 at 12:20 pm

    It’s very true that for a niche website you can’t have the dates. I’m glad someone wrote about this:)

    I figured out how to remove the dates from my WP blog, but it seems that it needs a space between the “Filed under” link and my content.

    My content seems to wrap around the headline. I’m hoping the expert has an idea! I don’t know much php, so I can’t figure out how to add a break!

    Any ideas would be much appreciated!

  4. Nancy on December 6, 2008 at 6:09 pm

    Thanks so much for this. There’s a plugin available, but it wasn’t working on my site.

    This is much better – and easier to understand! :-)

  5. Alan on December 6, 2008 at 6:24 pm

    Hi Nancy, I’m glad you found this post helpful! I also tried the date exclusion plugin but I couldn’t get to work either. I tried on two different blogs with different themes. Maybe it’s a version issue or something but luckily it’s super easy doing it manually. :-)

  6. Kaye on March 24, 2009 at 11:15 am

    Thank you so much! I am trying (and loving) Dosh Dosh’s Prosense but didn’t have a clue on how to remove the dates. This worked wonderfully. I really appreciate the help! :)

  7. Frumusete on April 5, 2009 at 11:13 am

    Thanks for tips

  8. keith on August 23, 2010 at 12:52 pm

    THANK YOU MUCH FOR THIS!!

  9. Kait on September 5, 2010 at 2:13 pm

    Thank you! This was very helpful.

  10. Kenny on December 6, 2010 at 12:32 am

    Thanks for sharing. Actually, I’ve seen a plugin that can remove date on all wordpress blog posts. It’s working great. You can check it out here: http://oozman.com/oozing/ideas/archives/oozman-date-remover-wordpress-plugin

  11. Warteg on February 11, 2011 at 10:53 pm

    thanks for your tips. I downloaded the plugin

    date-exclusion-wordpress-plugin

    from wordpress. But this plugin is not work on my other wp blog with theme twenty ten 1.1 (deafult WP 3.0 or over).

    Also on single.php index.php there is no code

    If anybody success with this plugin on twenty ten, pls kindly sharing. thanks
    Warteg recently posted..About Erectile Dysfunction

Leave a Reply

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

*

CommentLuv badge

 Subscribe to My Newsletter 

Keep in touch…

Meet me in Twitterland

Lets Get Social

Follow Alan Petersen on TwitterJoin My You Tube ChannelAlan Petersen on Facebook
Subscribe via RSSSubscribe via FeedburnerInternet Marketing Podcast

Recommended…

Buy ScreenFlow 2