• Can someone tell me where to go to remove the value=”Post Comment”. I’m using the twentyten theme. I replaced the submit with an image link, but still have the value appearing.

    Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • have you changed type="submit" to type="image"?

    Thread Starter eriksnet

    (@eriksnet)

    Not yet… I’m trying to find where the code is functions.php, page.php, etc…?

    Thread Starter eriksnet

    (@eriksnet)

    My link is:

    Look at he button on the bottom.

    Thank you.

    That theme uses the default form (comments.php, line 77 – <?php comment_form(); ?>click here for the function refeerence), so you would have to pass arguments to the form. It looks simple enough to change the text vaules, but there appears to be no option to allow you to change the button to an image.

    That leaves you with two options – either hack and change the core (wp-includes/comment-template.php. – but I wouldn’t recommend) or create your own form, using the code that WP use, amending and putting it in a file in the theme folder. Then simply call that function instead of <?php comment_form(); ?>

    Just to check as well, if you are editing the TwentyTen theme, have you created a child theme? If not, any changes you make will be overwritten next time there is a WordPress update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove value="Post Comment" from Submit input’ is closed to new replies.