Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #24815

    After I installed a plug-in to help make the site multi-lingual, many of the dates now appear incorrectly in the theme. See the comments here:

    Is there a CSS override I can do to help make the the dates in the comments appear correctly again?



    Edit includes > loop-index.php, find this code

    <?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a>

    Replace it with:


    $date = "F j, Y, g:i a";
    $actual_date = get_comment_date( $date, $comment_ID );
    echo $actual_date;


    Remove browser cache then reload the page.



Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Problem Displaying Dates’ is closed to new replies.