WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Georg Kevin Paquet
    Member
    Posted 5 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
    Member
    Posted 5 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

Tags