• Hi !
    I Just bought a theme and I have a little problem with it.
    In the comments, the hour doesn’t appear. It’s important for my nvisitors to know when the comments were posted. The developper of the theme doesn’t want to work on this…
    Any ideas? Thanks for your help and sorry for my English 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Depending on your theme and how it’s constructed may be an issue, but I would check out this thread and see if it gets you going in the right direction? Hope this helps.

    https://wordpress.org/support/topic/how-do-i-show-timestamp-on-comments?replies=4

    Thread Starter missdixie

    (@missdixie)

    Thanks for your answer ! It helped me ! I paste this line <?php comment_date(‘m/j/y’)?>; <?php comment_date(‘g:i a’)?> in the library/core.php of my theme and it’s working !
    But… The problem is that the hour is not dispayed like under the 24-hour clock system… And there’s not even “am” or “pm”
    I’ve got to find the solution…
    Thanks again for your answer !

    Thread Starter missdixie

    (@missdixie)

    It’s Ok ! Instead of <?php comment_date(‘m/j/y’)?>; <?php comment_date(‘g:i a’)?> I wrote <?php comment_date(); ?> – <?php comment_time(); ?>
    And it’s ok now !
    Thanks for your help !

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hour in comments’ is closed to new replies.