• Resolved beduicom

    (@beduicom)


    Hi!

    On my site, comments show up with dates such as “%A %B %e%q, %Y at %I:%M %p”. I.e. coded, not showing a date at all actually.

    How can I fix this? I can’t find the date function in the Appearance Editor of comments.php. Does anyone have a clue?

    Thanks in advance,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mine looks like this

    echo time_since($entry_datetime); echo ' ago'; */ ?> 
    
           on
            <?php the_time('l, F jS, Y') ?>
            at
            <?php the_time() ?>

    Under comments.php

    Try editing the thing on yours that looks like <?php the_time('l, F jS, Y') ?> to what I have (l, F jS, Y)

    I also have

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

    You can look for something like that as well, and change it.

    Thread Starter beduicom

    (@beduicom)

    THanks for your replies. I’m looking in my comments.php though and can’t find any reference to the time or date! I use theme Retromania. Instead I can just find this reference in a “comment-template.php” file which is under wp-includes directory. I don’t get it… ?

    Do you have any knowledge about this theme?

    Thread Starter beduicom

    (@beduicom)

    In comments.php of the theme, this is the code:

    <!-- You can start editing here. -->
    		<div class="comments">
            <?php if ($comments) : ?>
                <h1><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h1>
                <ol class="commentlist">
                <?php wp_list_comments('type=all&avatar_size=50'); ?>
    
                </ol>
    
             <?php else : // this is displayed if there are no comments so far ?>

    The referenced “wp_list_comments” function is written inside the comment-template.php which I mentioned above. So I guess I need to modify that one somehow?

    Thread Starter beduicom

    (@beduicom)

    Hey I just found the solution to this one – it’s plugin qTranslate that corrupts it:

    http://www.qianqin.de/qtranslate/forum/viewtopic.php?p=5988#p6142

    The fix is right there. Topic closed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comments: date shows up as "%A %B %e%q, %Y at %I:%M %p"’ is closed to new replies.