WordPress post doesn’t show date if there’s another post with the same date in the loop.

PROBLEM
If you are using the_date() in your loop and multiple posts have the same date, the date may only show for the first post in the loop.

SOLUTION

echo get_the_date();

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *