Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] Adding a date published below related_posts
5 years, 1 month ago
Hello every one, great pluggin, I want to add the date that was publish the article. Non-clickable, but never the less showing.
This is the code I am using,
<?php if (related_posts_exist()): ?>
<?php related_posts(); ?>
<?php else: ?>
<p>No related posts.</p>
<?php endif; ?>
Any ideas how? So basically, the title will show up, and the date published will show under the posting.
Basically, I want to add this to the loop:
<?php the_time('F, d, Y'); ?>
Is there a way to do it?
You’ll need to use a YARPP custom template for this: