Forum Replies Created

Viewing 1 replies (of 1 total)
  • I 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:

    1. 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.
    2. Locate the text to replace. I did this by doing a CTRL+F search of ‘id_form’ => ‘commentform’
    3. 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’
      );
    4. Click Update File to save and then check to make sure it worked
Viewing 1 replies (of 1 total)