Hi,
I am trying to customize the display of the blog archive on a child theme, specifically the way the author and date are displayed. The settings within the Customizer are not enough to achieve the required look, so in the content.php template underneath <?php the_excerpt(); ?> I added code from the WordPress repository to display the date:
<?php the_date( 'M d, Y', '<time>', '</time>' ); ?>
You can see it in action here: https://manyrequests.com/blog
Funny thing is, this only displays the date on a few select posts within the loop. There is no rhyme or reason to the ones with(out) dates, it is the strangest thing. Nothing is wrong with the database either (ex: published/updated dates) but perhaps I am going about this entire thing the wrong way.
Is there any easier way to customize the GeneratePress date/author beyond the basic show/hide options within the Customizer? Or might anyone have a suggestion as to what I’m doing wrong to get intermittent dates on blog posts? I am absolutely baffled and would greatly appreciate any suggestions, thank you! 🙂