Problem with showing post date in archives
-
Hello,
My archives page isn’t correctly displaying the post date —?instead, it’s grabbing yesterday’s date for all the posts. The 19th of July. Although, yesterday, it was also showing the 19th, so I’m not sure what’s going on. I’m sure I’m overlooking something really stupid…
<a href="<?php echo get_permalink( $archive_post->ID ); ?>"><?php echo get_the_title( $archive_post->ID );?> <span>(<?php echo get_the_date( get_option('date_format') ); ?>)</span></a> → <span class="archive-sub"><?php get_the_subtitle( $archive_post->ID ); ?></span>
Appreciate any help.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with showing post date in archives’ is closed to new replies.