Home » WordPress

The Date Tag

Posted By: BioTecK on Wednesday 30 April 2008 with 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


4 Comments so far, be the next one! »

  • Nicole said:

    Wish I was more geeky :) !

    Nicoles last blog post..Wish I was here

  • BioTecK (author) said:

    Why? You need some help Nicole? :)

  • Nicole said:

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

    Nicoles last blog post..Wishing you a good Saturday

  • BioTecK (author) said:

    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: