Title: Post Comment Button not their
Last modified: August 30, 2016

---

# Post Comment Button not their

 *  Resolved [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * (@ramyadhamu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/)
 * Hi i created my website using 4.2.2 version. My website name called futurdilaog.
   com. I have used oxygen theme but under leave a reply there is no post comment
   button. How could others able to pass the comment

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

 *  [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * (@accuwebhosting)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333494)
 * Hi,
 * I could find same thread as yours. I hope that will help you.
 * [https://wordpress.org/support/topic/comment-submit-button-disappeared](https://wordpress.org/support/topic/comment-submit-button-disappeared)
 * Let me know if that does not fix your issue.
 * Thanks,
 *  Thread Starter [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * (@ramyadhamu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333560)
 * Thanks Accuwebhosting
 * I am new to wordpress can u explain me in functions.php under which line i have
   to post that two lines
 *  Thread Starter [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * (@ramyadhamu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333564)
 * $args = array(
    ‘fields’ => apply_filters( ‘comment_form_default_fields’, $fields),‘
   comment_field’ => ‘<p class=”form-textarea req”><!–<label for=”comment”>’ . __(‘
   Comment’, ‘oxygen’ ) . ‘</label>–><textarea name=”comment” id=”comment” cols=”
   60″ rows=”10″></textarea></p>’, ‘must_log_in’ => ‘<p class=”alert”>’ . sprintf(
   __( ‘You must be [logged in](https://wordpress.org/support/topic/post-comment-button-not-their/%1$s?output_format=md)
   to post a comment.’, ‘oxygen’ ), wp_login_url( get_permalink() ) ) . ‘</p><!–.
   alert –>’, ‘logged_in_as’ => ‘<p class=”log-in-out”>’ . sprintf( __( ‘Logged 
   in as [%2$s](https://wordpress.org/support/topic/post-comment-button-not-their/%1$s?output_format=md).’,‘
   oxygen’ ), admin_url( ‘profile.php’ ), esc_attr( $user_identity ) ) . ‘ [‘ . __( ‘Log out →’, ‘oxygen’ ) . ‘](https://wordpress.org/support/topic/post-comment-button-not-their/&apos; . wp_logout_url( get_permalink() ) . &apos;?output_format=md)
   </p><!– .log-in-out –>’, ‘comment_notes_before’ => ”, ‘comment_notes_after’ =
   > ”, ‘id_form’ => ‘commentform’, ‘id_submit’ => ‘submit’, ‘title_reply’ => __(‘
   Leave a Reply’, ‘oxygen’ ), ‘title_reply_to’ => __( ‘Leave a Reply to %s’, ‘oxygen’),‘
   cancel_reply_link’ => __( ‘Click here to cancel reply.’, ‘oxygen’ ), ‘label_submit’
   => __( ‘Post Comment →’, ‘oxygen’ ), );
 *  return $args;
    }
 *  [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * (@accuwebhosting)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333647)
 * Hi,
 * At WordPress dashboard, Go to Appearance –> Editor and select Theme Functions(
   functions.php). Make yourself a copy of all the text in case you mess up so you
   can revert back.
 * Locate the text to replace. Just CTRL+F search of ‘id_form’ => ‘commentform’
 * Comment out the old text rather than deleting it. So beginning with the line 
   that reads ‘id_form’ => ‘commentform’,
 * Your code may look like this:
 *     ```
       /* 'id_form' => 'commentform',
           'id_submit' => 'submit',
           'title_reply' => __( 'Leave a Reply', 'origin' ),
           'title_reply_to' => __( 'Leave a Reply to %s', 'origin' ),
           'cancel_reply_link' => __( 'Click here to cancel reply.', 'origin' ),
           'label_submit' => __( 'Post Comment →', 'origin' ),
           */
       ```
   
 * Replace following code:
 *     ```
       'id_form' => 'commentform',
           'id_submit' => 'submit',
           'class_submit' => 'submit',
           'name_submit' => 'submit',
           'title_reply' => __( 'Leave a Reply' ),
           'title_reply_to' => __( 'Leave a Reply to %s' ),
           'cancel_reply_link' => __( 'Cancel reply' ),
           'label_submit' => __( 'Post Comment' ),
           'submit_button' => '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />',
           'submit_field' => '<p class="form-submit">%1$s %2$s</p>',
           'format' => 'xhtml'
           );
       ```
   
 * Click Update File to save and then check to make sure it worked.
 * For more information, refer following URL:
 * [https://wordpress.org/support/topic/comment-submit-button-disappeared-after-42-update?replies=11#post-6886382](https://wordpress.org/support/topic/comment-submit-button-disappeared-after-42-update?replies=11#post-6886382)
 * _**Note:-Please take necessary backup before you make any changes.**_
 * Thanks,
 *  Thread Starter [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * (@ramyadhamu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333663)
 * Hi Accuwebhosting
    I got this error after updating the above code… Parse error:
   syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) in D:\Hosting\test_temp\wp-content\
   themes\oxygen\functions.php on line 244
 * ‘comment_notes_before’ => ”,
    ‘comment_notes_after’ => ”, ‘id_form’ => ‘commentform’,‘
   id_submit’ => ‘submit’, ‘class_submit’ => ‘submit’, ‘name_submit’ => ‘submit’,‘
   title_reply’ => __( ‘Leave a Reply’ ), ‘title_reply_to’ => __( ‘Leave a Reply
   to %s’ ), ‘cancel_reply_link’ => __( ‘Cancel reply’ ), ‘label_submit’ => __( ‘
   Post Comment’ ), ‘submit_button’ => ‘<input name=”%1$s” type=”submit” id=”%2$
   s” class=”%3$s” value=”%4$s” />’, ‘submit_field’ => ‘<p class=”form-submit”>%
   1$s %2$s</p>’, ‘format’ => ‘xhtml’ );
 *  return $args;
    }
 *  [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * (@accuwebhosting)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333697)
 * Hi,
 * An error you have been receiving is PHP error. It occurs mostly when you have
   not closed the parenthesis or you are missing ; in line prior to the indicated
   line.
 * In you case, you are receiving error in functions.php on line 244, you should
   check the line 243.
 * Also, make sure you have been correctly following suggestions shown in following
   URL:
 * [https://wordpress.org/support/topic/comment-submit-button-disappeared-after-42-update?replies=11#post-6886382](https://wordpress.org/support/topic/comment-submit-button-disappeared-after-42-update?replies=11#post-6886382)
 * **Note:-Please take necessary backup before you make any changes.**
 * Thanks,
 *  Thread Starter [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * (@ramyadhamu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333736)
 * Hi i have posted my entire code…. But i have set all the paranthesis
 *  Thread Starter [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * (@ramyadhamu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333737)
 * Hey issue got resolved. Thank you it worked

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

The topic ‘Post Comment Button not their’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [ramyadhamu](https://wordpress.org/support/users/ramyadhamu/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/post-comment-button-not-their/#post-6333737)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
