Support » Fixing WordPress » Completely get rid of comment and date

  • Hi people,
    I am using wordpress for a static website and would like to get rid of the comments and the dates. I have turned the comments off but it still displays “comments are off” and the date is always displayed on my first post. Do you know what file I need to go into to remove these.


Viewing 1 replies (of 1 total)
  • You’ll have to edit your theme’s index.php and single.php files. Also category.php, archive.php and tag.php if you have any of those files.

    To remove comment notices, remove all references to comments_popup_link(). In single.php, you may also want to remove <?php comments_template(); ?>.

    To get rid of dates, remove all references to the_time().

Viewing 1 replies (of 1 total)
  • The topic ‘Completely get rid of comment and date’ is closed to new replies.