WordPress Dates Missing

Posted on Friday, August 7th, 2009 at 5:43 pm in

The date isn’t being displayed on some of my posts!

The default behaviour for WordPress the_date() template tag is to only display the full date on the first post on a given day. Subsequent posts from the same day only display a time stamp.

To ensure that the posting date is always displayed on all posts, edit your theme files and replacing the_date with the_time. The list of files that you may need to edit may include:

  • index.php
  • archive.php
  • search.php
  • single.php
  • tag.php
  • category.php (and any custom category template files)
  • page.php (and any custom page template files)
You might also be interested in

WordPress Support Services

Top