The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Removing Time and Date in Comments (default theme) (2 posts)

  1. Georg Kevin Paquet
    Posted 7 years ago #

    I'm using the comments.php template of my default theme on my blog http://pinoyteens.net
    the comment section looks so dirty because of all the dates and links of these dates, how can I remove these dates?

    I'm using WordPress 2.7 RC1, and I can't see anything like a date or time template that I could simply remove.

  2. chaoskaizer
    Posted 7 years ago #

    You'll need to hardcode it inside 'wp-includes/comments-template.php' Walker_Comment::start_el (line 1184). But the easiest tweak is to hide the 'date link' with CSS (edit default/style.css).

    .commentmetadata a{display:none}
    .commentmetadata a[title^='Edit']{display:block}

Topic Closed

This topic has been closed to new replies.

About this Topic