Forums

[resolved] Changing The Date Format of Comments In wp_list_comments (3 posts)

  1. gmd8
    Member
    Posted 2 years ago #

    I'm create a WordPress theme and I'm using the wp_list_comments() to show comments on posts and pages. However, this features shows dates in my comments as "April 20, 2010 at 9:37 am" instead of something like 4/20/10.

    I know how to use PHP's date functions to do this but is there a way this format be changed without modifying core files or creating my own custom comment function?

    Thanks.

  2. gmd8
    Member
    Posted 2 years ago #

    Okay, I've nailed down the first part (April 20, 2010) and you can just change the regular WP date from the backend and let your loops to display differently but how can I get rid of the "at 9:37 am" part?

  3. gmd8
    Member
    Posted 2 years ago #

    I just went ahead an used some Codex sample code to make my own comments function, so this problem is now solved.

Topic Closed

This topic has been closed to new replies.

About this Topic