Title: Comments on PHP pages
Last modified: August 18, 2016

---

# Comments on PHP pages

 *  [indeed](https://wordpress.org/support/users/indeed/)
 * (@indeed)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/comments-on-php-pages/)
 * Hi, there is a page that I have created. First, let me explain how I created 
   the page.
    - I made a siteInformation.php and uploaded it into my theme-directory. The 
      file (source) can be found here: [http://nijmegen.lommers.org/public/siteInformation.phps](http://nijmegen.lommers.org/public/siteInformation.phps)
    - In the admin-section, I choose: ‘write’, ‘write page’ and I’ve selected the
      corresponding ‘page template’.
    - The result is a page which can be found here: [http://www.lommers.org/site-information/](http://www.lommers.org/site-information/)
 * As you all can see, there is a comments form on the page. But, when I try to 
   post a comment on that page, nothing happens. Have a look and try it yourself?
   I think the ID from the page must be filled in the page, but how?
 * (I did made a post similar to this one, but this is more precisely explained)
 * [edit]
    I think I see the error. There is a line:
 * `<input type="hidden" name="comment_post_ID" value="" />`
    I think the value 
   must be filled, as on my other static pages.

Viewing 1 replies (of 1 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/comments-on-php-pages/#post-501883)
 * Definitely could be the culprit. What does that line look like in your actual
   comments template? That is, what’s the PHP code generating the ‘value’ for it?

Viewing 1 replies (of 1 total)

The topic ‘Comments on PHP pages’ is closed to new replies.

## Tags

 * [id](https://wordpress.org/support/topic-tag/id/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/comments-on-php-pages/#post-501883)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
