• thanatica2

    (@thanatica2)


    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

    (@esmi)

    Why not add a button image as a background via CSS?

    Thread Starter thanatica2

    (@thanatica2)

    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

    (@esmi)

    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.