Tuesday, July 15, 2014

Same Post Date, not showing up twice in wordpress

When there are multiple posts on a page published under the SAME DAY, the_date() only displays the date for the first post (that is, the first instance of the_date()). To repeat the date for posts published under the same day, you should use the Template Tag the_time() with a date-specific format string.

For example <?php the_time("l, F d, Y"); ?>

No comments:

Post a Comment