We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f419597 commit 63a756dCopy full SHA for 63a756d
display-medium-posts.php
@@ -148,7 +148,7 @@ function posts_display($atts){
148
}
149
$items[$count]['image'] = $image;
150
$items[$count]['duration'] = round($post->virtuals->readingTime);
151
- $items[$count]['date'] = isset($post->createdAt) ? date('Y.m.d', $post->createdAt/1000): "";
+ $items[$count]['date'] = isset($post->firstPublishedAt) ? date('Y.m.d', $post->firstPublishedAt/1000): "";
152
153
$count++;
154
0 commit comments