dssouthe
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Fixing WordPress
In reply to: Comment submit button disappeared after 4.2 updateI didn’t understand where to put this replacement code at first either, but then I figured it out. I’m using the Origin theme, and the submit button had disappeared on my site.
Hope this is helpful:
- In WordPress, go to Appearance –> Editor and select Theme Functions (functions.php). Make yourself a copy of all the text in case you screw up so you can revert back.
- Locate the text to replace. I did this by doing a CTRL+F search of ‘id_form’ => ‘commentform’
- I commented out the old text rather than deleting it. So beginning with the line that reads ‘id_form’ => ‘commentform’, mine now looks 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’ ),
*/
‘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
Viewing 1 replies (of 1 total)