Forums

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

  1. HoddzDJ
    Member
    Posted 6 months 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.

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. HoddzDJ
    Member
    Posted 6 months 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)
    Member
    Plugin Author

    Posted 6 months ago #

    Glad you got it. :D

Reply

You must log in to post.

About this Plugin

About this Topic