Title: adding comments
Last modified: August 18, 2016

---

# adding comments

 *  [bigdavejonnyt](https://wordpress.org/support/users/bigdavejonnyt/)
 * (@bigdavejonnyt)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/adding-comments-2/)
 * Just writing my own template – got comments working, but in testing noticed that
   if you leave the comments field blank and hit submit, you get dumped out to a
   very unfriendly message –
 * ‘Error: please type a comment.’
 * Driven from the page wp-comments-post.php in the wp root directory. Is there 
   a good or perhaps, a proper, way to easily format this page so it stays true 
   to the template it’s sat in.
 * I could hack around for hours, or I could just ask, so…..
 * ….I’m just asking!
 * I remain etc….
 * yours
 * bdjt

Viewing 1 replies (of 1 total)

 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/adding-comments-2/#post-362425)
 * This is something I’ve tried to get changed, but my patch has been languishing
   [here](http://trac.wordpress.org/ticket/1786).
 * If you don’t want to change wp-comments-post.php, you might try adding to the‘
   init’ action hook a function that checks to see if comment fields have been posted,
   then responds when one is blank.

Viewing 1 replies (of 1 total)

The topic ‘adding comments’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/adding-comments-2/#post-362425)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
