Title: Loading a custom comment form
Last modified: August 19, 2016

---

# Loading a custom comment form

 *  Resolved [bobthemonster](https://wordpress.org/support/users/bobthemonster/)
 * (@bobthemonster)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/loading-a-custom-comment-form/)
 * I am trying to load a different comment form/template file at certain times and
   have tried various methods and can’t get it working.
 * `if(function_exists('comment_form')) comment_form(TEMPLATEPATH . '/comment-form-
   custom.php'); else echo "error, didn't find your custom comment form";`
 * The above code loads the default comment wordpress form, not my custom file. 
   Any ideas would be appreciated. Thanks.

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/loading-a-custom-comment-form/#post-1748428)
 * i don’t think your usage of `comment_form()` is documented in the codex:
 * [http://codex.wordpress.org/Function_Reference/comment_form](http://codex.wordpress.org/Function_Reference/comment_form)
 *  Thread Starter [bobthemonster](https://wordpress.org/support/users/bobthemonster/)
 * (@bobthemonster)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/loading-a-custom-comment-form/#post-1748436)
 * Thanks for the reply.
 * Do you have any advice as to how to accomplish loading a different comment template
   as I am trying?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/loading-a-custom-comment-form/#post-1748448)
 * you could try to `include` your custom comment form php file; similar to what
   is described here:
    [http://codex.wordpress.org/Stepping_Into_Templates#Template_Files_Within_Template_Files](http://codex.wordpress.org/Stepping_Into_Templates#Template_Files_Within_Template_Files)
 *  Thread Starter [bobthemonster](https://wordpress.org/support/users/bobthemonster/)
 * (@bobthemonster)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/loading-a-custom-comment-form/#post-1748462)
 * Ahh yes, good idea 🙂 Thanks.

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

The topic ‘Loading a custom comment form’ 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: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [bobthemonster](https://wordpress.org/support/users/bobthemonster/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/loading-a-custom-comment-form/#post-1748462)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
