Yet Another Related Posts Plugin (YARPP)
[resolved] Add Article Date (3 posts)

  1. HoddzDJ
    Posted 3 years ago #

    Hi all,

    I'm loving the YARPP, but feel there is one thing missing from it and that is the date of the published articles. It would be great to have the date added at the end in brackets. I feel then it would be complete. Is there a way to add this?

    Regards, Ben.


  2. HoddzDJ
    Posted 3 years ago #

    D'oh! Should of done a search before posting, I have found out how to do it! For those having problems with it, add PHP to the template where you want it displayed and use the PHP date and time syntax to edit how the date is displayed.

    <?php the_time('F jS, Y') ?>
    The above code will output the date in this formate - September 18th, 2012.

    If you want it displayed in a different formate then just get onto the PHP manual and edit the format accordingly.

    Regards, Ben.

  3. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 3 years ago #

    Glad you got it. :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic