Ready to get started?Download WordPress


Boxy but Gold comments (6 posts)

  1. Len
    Posted 8 years ago #

    I am using Kaf Oseo's "Boxy but Gold" theme on my weblog. When a comment is left, it gets tagged with a strange time (like 124:10 or 210:42) which is also used as the permalink to the comment.

    Being somewhat new to WordPress and PHP, I do not know how to go about fixing this so the correct time is attached to the comment. Can anybody help? I'd sure appreciate it!

  2. Open up comments.php in the theme's folder. What are the contents of the comment_time() function? (Search for it.)

  3. seanp
    Posted 8 years ago #

    Aside: I like the rita post :P

  4. Len
    Posted 8 years ago #

    Viper, the only place I can find that phrase in that file is here:

    <a href="#comment-<?php comment_ID() ?>" title="<?php _e('Permalink to comment ').$comment_ct; ?>"><?php echo $comment_ct; ?><?php comment_time() ?></a>

    Does that help?

  5. Len
    Posted 8 years ago #

    I believe I have solved the problem. Thanks, Viper007Bond, for the clue! I just replaced the code in my last post with the corresponding code from a theme that was working correctly.

    Thanks for your help!

  6. Glad you got it working! :)

Topic Closed

This topic has been closed to new replies.

About this Topic