Forums

How to remove the date and time on comments? (3 posts)

  1. StoarceCreierul
    Member
    Posted 1 year ago #

    How can one remove the displaying of the small date and time located under user's name in comments?

  2. StoarceCreierul
    Member
    Posted 1 year ago #

    My guess is that we should change something in WordPress instalation files rather than theme's comments.php

  3. alchymyth
    The Sweeper
    Posted 1 year ago #

    try with css - not ideal, however usually quite simple to do:

    .comment-meta { display:none; }

    add this to style.css of your theme, at the end, or after the other comment styles.

    most comments.php use 'wp_list_comments();' which could use your own callback function.

    http://codex.wordpress.org/Function_Reference/wp_list_comments

    this wordpress core function is in /wp-includes/comment-template.php:
    or can be viewed here:
    http://phpxref.ftwr.co.uk/wordpress/wp-includes/comment-template.php.source.html#l1400

Topic Closed

This topic has been closed to new replies.

About this Topic