Title: custom error page for comments
Last modified: August 18, 2016

---

# custom error page for comments

 *  [laurazucchetti](https://wordpress.org/support/users/laurazucchetti/)
 * (@laurazucchetti)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/custom-error-page-for-comments/)
 * Hi, I have designed a new theme for my word press blog but I also want to customise
   errors on the site. Not 404 errors but say for example someone goes to leave 
   a comment and they do not fill in the email address, It currently just goes to
   a blank page saying:
 * Error: please fill the required fields (email).
 * Is there a way to make this more elegant and post the original form page with
   some HTML changes to highlight the issue?
 * I have been looking through plugins and searching through the docs here and Google
   searches but no luck.
 * Thanks. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/custom-error-page-for-comments/#post-504276)
 * I remember it being asked… but never a solution for it. (which doesn’t mean it
   doesn’t exist)
 *  Thread Starter [laurazucchetti](https://wordpress.org/support/users/laurazucchetti/)
 * (@laurazucchetti)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/custom-error-page-for-comments/#post-504381)
 * Oh dear… well I’ll keep looking. It’s a shame as it’s the only issue I have with
   WordPress other than that it’s fantastically customisable.
 *  [kprensac](https://wordpress.org/support/users/kprensac/)
 * (@kprensac)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/custom-error-page-for-comments/#post-504518)
 * This issue drove me crazy. It seems like it should be obvious. The answer, I 
   think, is to edit /wp-includes/functions.php more or less between lines 1258 
   and 1275 (it is in a function called wp_die() )
 *  [kevinobvious](https://wordpress.org/support/users/kevinobvious/)
 * (@kevinobvious)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/custom-error-page-for-comments/#post-504522)
 * I posted a possible solution to this problem in the following thread.
 * [http://wordpress.org/support/topic/109477?replies=6#post-660233](http://wordpress.org/support/topic/109477?replies=6#post-660233)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘custom error page for comments’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 4 participants
 * Last reply from: [kevinobvious](https://wordpress.org/support/users/kevinobvious/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/custom-error-page-for-comments/#post-504522)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
