WordPress.org

Ready to get started?Download WordPress

Forums

comment date and time not working (3 posts)

  1. salomeya
    Member
    Posted 8 years ago #

    for some reason, all of my comments show the same date- august 8! and then the time doesn't show up at all! here is the code i used:

    <?php comment_author_link() ?> on <?php comment_date() ?> @ <?php comment_time() ?>

    and here is the coding for the whole comments page:

    http://pastebin.com/342695

    my website: http://salomeya.l2p.net

    thanks!!

  2. leliathomas
    Member
    Posted 8 years ago #

    Try this:

    <?php comment_author_link() ?> on <?php comment_date('F j, Y') ?> at <?php comment_time() ?>

    The comment date configuration (F j, Y) tells the comment_date how to function. Hope that works.

    Lelia Katherine Thomas
    http://www.leliathomas.com

  3. salomeya
    Member
    Posted 8 years ago #

    thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags