Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Fixing issue with posts date not showing if posted on the same day
Browse files Browse the repository at this point in the history
Fixes #36
  • Loading branch information
benbrehaut committed Jun 17, 2017
1 parent 8d28d7f commit 62b0f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template-parts/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a href="<?php the_permalink(); ?>">
<?php the_title('<h2 class="post__title heading-2">','</h2>'); ?>
</a>
<time class="post__date"><?php the_date(); ?></time>
<time class="post__date"><?php echo get_the_date(); ?></time>
<?php the_post_thumbnail(); ?>
</header>
<div class="post-content">
Expand Down

0 comments on commit 62b0f3c

Please sign in to comment.