Title: comment-template.php
Last modified: August 19, 2016

---

# comment-template.php

 *  [Aronsky](https://wordpress.org/support/users/aronsky/)
 * (@aronsky)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/comment-templatephp/)
 * Good afternoon!
    I can not understand algorithm of reception of comments. From
   a theme file there is a reference to function _wp\_list\_comments ()_ which is
   in a file _comment-teplate.php_. The further work occurs in a file _comments-
   template.php_. But there is no cycle. Where cycles for a conclusion of all comments
   are located? I will explain that I wish to make: it is necessary for me, that
   in last comment to record the certain line was automatically added. I think, 
   last comment can be calculated on id, or by date, remembering it in an operation
   cycle of comments and comparing to the subsequent.

The topic ‘comment-template.php’ is closed to new replies.

## Tags

 * [comment template](https://wordpress.org/support/topic-tag/comment-template/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Aronsky](https://wordpress.org/support/users/aronsky/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/comment-templatephp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
