Title: Fully customise comment form when using comment_form()
Last modified: August 20, 2016

---

# Fully customise comment form when using comment_form()

 *  [iacchi](https://wordpress.org/support/users/iacchi/)
 * (@iacchi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fully-customise-comment-form-when-using-comment_form/)
 * Hi everyone,
    I’m writing a new theme and Iwant to use comment_form() to display
   the comment form, since it looks like the right thing to do for a modern theme.
   The problem is, as far as I reached to find out, the code that this function 
   outputs is not fully customisable. Just to make an example, I want to change 
   the code at the beginning from
 * `<div id="respond"><h3 id="reply-title">`
 * to
 * `<div id="respond"><h2 id="reply-title">`
 * this is just an example (that I actually need). Is there a way to customise these
   aspects of the output, or to just write a new function to add in functions.php
   to completely replace the output of comment_form?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fully-customise-comment-form-when-using-comment_form/#post-2348056)
 * You need to look at the fields and $args for [comment_form()](http://codex.wordpress.org/Function_Reference/comment_form).
 *  Thread Starter [iacchi](https://wordpress.org/support/users/iacchi/)
 * (@iacchi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fully-customise-comment-form-when-using-comment_form/#post-2348065)
 * I read that already and not only the page on the codex, I’ve googled around a
   bit, too.
    If you look at that page, there’s no reference to a parameter to change
   the very beginning of the form, except the text inside the <h3> tag which should
   be set using “title_reply”. Point is, I want to change <h3> into <h2>, not just
   the text inside it.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fully-customise-comment-form-when-using-comment_form/#post-2348068)
 * [http://codex.wordpress.org/Function_Reference/comment_form_title](http://codex.wordpress.org/Function_Reference/comment_form_title)
 *  Thread Starter [iacchi](https://wordpress.org/support/users/iacchi/)
 * (@iacchi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fully-customise-comment-form-when-using-comment_form/#post-2348071)
 * No, that doesn’t make it. You can use that to change the text inside <h3>, not
   the tag itself (if you look at the examples, the funcion is called inside the
   <h3> tag), and if I well understood you can either use that function if you want
   to write the code for the comment form yourself, or you can use comment_form()
   to generate the comment form; you can’t use one inside the other, and it’s no
   use anyway, since it can’t change the tag.
 * Either what I said is true, or I didn’t understand anything of what’s written
   in the codex, and I need an example.

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

 The topic ‘Fully customise comment form when using comment_form()’ is closed to
new replies.

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [iacchi](https://wordpress.org/support/users/iacchi/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/fully-customise-comment-form-when-using-comment_form/#post-2348071)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
