This content is old and no longer supported. You may use at your own risk, but no official support will be provided for anything listed here. If you are a Themeco customer, we invite you to check out our new community and forums, Apex.


  • Author
  • #1406296



    I need to change the label of the “Submit” button in the post pages, under the comment text field.
    How can I change this label, maybe without thid-parts plugin?

    Thanks 🙂


    Prasant Rai

    Hello There,

    Thanks for writing in!

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

    Then add following code into child theme function.php file:

      comment_form( array(
        'comment_notes_after' => '',
        'id_submit'           => 'entry-comment-submit',
        'label_submit'        => __( 'Submit' , '__x__' )
      ) );

    Let us know how this goes!




    Well, I tried it – as I have the same question.
    But when I added your code under the ‘Additional’ line,
    it resulted in an error on line 26 (the line that says <?php).
    I tried removing the <?php piece, as this is already present on line 1.
    But it had no result.

    I noticed in the inspector the line:
    <input name=”submit” type=”submit” id=”entry-comment-submit” class=”submit” value=”Submit”>
    Isn’t there a way to change this ‘Submit’ into another word?
    And would any styling (standard is so basic) be possible, like a green background and text without the shadow?
    The inspector says: input#entry-comment-submit.submit when i click on the button.



    Found it elsewhere on the forum:
    Copy the wp-comments.php file of the x theme > view > renew
    and Change the text in the submit button in this wp-comments.php file that you place in the
    x-child > view > renew. does the job!



    Happy to hear that.

    Feel free to ask us again


Join Apex

This content is old and no longer supported. We invite you to check out our new community and forums, Apex.

Join Apex