Loop post not showing date on all posts
-
I’m creating my archive template, and I’ve noticed that the post date isnt’t showing in all posts – even though it’s there when I open each post individually. What can be wrong?
Here’s my simplified template (based on the underscores theme):
<?php if ( have_posts() ) : /* Start the Loop */ while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', 'archive' ); endwhile; else : get_template_part( 'template-parts/content', 'none' ); endif; ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Loop post not showing date on all posts’ is closed to new replies.