Title: Post Comment button as a button
Last modified: August 19, 2016

---

# Post Comment button as a button

 *  [thanatica2](https://wordpress.org/support/users/thanatica2/)
 * (@thanatica2)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/post-comment-4/)
 * I need in my theme to make the Post Comment button into a real <button>.
 * I noticed in comment-template.php it is hard-coded to be an <input>. So how do
   I make it into a <button> then?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/post-comment-4/#post-1986942)
 * Why not add a button image as a background via CSS?
 *  Thread Starter [thanatica2](https://wordpress.org/support/users/thanatica2/)
 * (@thanatica2)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/post-comment-4/#post-1986944)
 * I was afraid of “why”-questions. I’m a skilled frontend-developer, and I know
   what I’m doing. I also know quite well what I want for my HTML, and why I want
   it that way.
 * A background image is one of worst ways of working around it, especially knowing
   there has to be a good solution. Something spits out <input>, and all I want 
   it to have it spit out <button>. Don’t care much how.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/post-comment-4/#post-1987049)
 * Then write your own custom callback for the comment form.

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

The topic ‘Post Comment button as a button’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/post-comment-4/#post-1987049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
