Home » WordPress

The Date Tag

Posted By: Wednesday 30 April 2008 4 Comments

Since some days I noticed that when there are multiple posts published on the SAME DAY, the date only displays the date for the first post! I didn’t like this and soon I became aware that I was using this code inside my WordPress loop: <?php the_date('','',''); ?>

I wanted to display the date for all of my posts, even when they are published on the same day! If you don’t like this like me, you can change this by replacing the date tag with: <?php the_time('l F j Y'); ?>

This way every post will be displaying the date, exactly what I wanted! :wink:

More information here and here

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed and I'll deliver the future articles to your feed reader.
Behrad

About Behrad:

I'm 29 years "old", married to Jannie and about to be a daddy! We live happily in Eindhoven, The Netherlands.
In 2006 I started BioTecK.net just to show/share my portfolio. After a while I started to blog about my experiences and stuff I do in my life, my interests; computers & computer related stuff, tips & tricks and basically everything which I want to share.
Read more about me, follow me on Twitter @BioTecK or contact me .

4 Comments so far, be the next one! »

  1. Nicole says:

    Wish I was more geeky :) !

    Nicoles last blog post..Wish I was here

  2. BioTecK says:

    Why? You need some help Nicole? :)

  3. Nicole says:

    Nah, not right now, but talking in general :)

    Nicoles last blog post..Wishing you a good Saturday

  4. BioTecK says:

    Ow ok..
    In the beginning I didn’t knew anything about computers, blogging, designing etc.. But then I started to exploring things.. So I’m not a 100% geek! :razz:

Leave a Reply

All line breaks and paragraphs will be generated automatically.
BioTecK.net is a Gravatar-enabled blog. To get your own avatar, please register at Gravatar.
You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.