WordPress.org

Support

Support » Themes and Templates » Removing Time and Date in Comments (default theme)

Removing Time and Date in Comments (default theme)

  • 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.

Viewing 1 replies (of 1 total)
  • 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}
Viewing 1 replies (of 1 total)
  • The topic ‘Removing Time and Date in Comments (default theme)’ is closed to new replies.