Support » Plugin: reCaptcha by BestWebSoft » Rearranging Comment Fields

  • Hello,

    I’m using comment_form_fields to rearrange the form fields so that the comment textarea is last. The problem is that when I do, the reCaptcha appears after the email field instead of at the end of the form. There’s nothing in the $fields parameter passed to the hook that looks like a captcha. I’ve tried 2 extreme priorities ( 1 and 999 ) but both produce the same results.

    How can I rearrange the comment form fields while keeping your reCaptcha box at the bottom?

Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi

    It depends on the comments form. If the hook call by means of which captcha works (‘after_comment_field’ or something like this) is present in the file comments.php, you can change captcha positioning by moving this hook call. Please find the file ‘comments.php’ in the theme and change the position of the line

    do_action( ‘comment_form_after_fields’ );

    or any similar line – place it under the Submit button.
    In case there is no such hook in the comments file of your theme, then, unfortunately, this option is not available.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.