Support » How-To and Troubleshooting » [Resolved] PHP Date Tag
11 years ago
In the index.php page and within the meta tag, how do you set the PHP Date Tag to insert the date for every post entries?
This is my Date Tag:
<?php the_date(”); ?>
This is my site:
I only get the date for the latest entry but not the previous one(s).
What should I change?
Thanks and well appreciate it.
the_date only displays once for each day. You might read up on the template tags… http://codex.wordpress.org/Template_Tags/the_date
I don’t really want the time, just the date for each entries.
there must be a way around this..
Engadget has the date on top with several entries for a particular day.
Right. Read the page I linked to (or just use what I posted).
Yeap, it was the the_time() tag that did the trick:
<?php the_time(‘F j, Y’); ?>