Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    We have received your query and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    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 position of the line – do_action( ‘comment_form_after_fields’ ); or any similar line – place it under the Submit button.

    Regards,
    BestWebSoft Support Team

    Thread Starter patientos

    (@patientos)

    Hello,

    I have tried changing the order of the hook, and nothing seems to work…

    These are the lines in my code after the name and email inputs for those not logged in:
    ‘comment_notes_before’ => ”,
    ‘comment_field’ => ‘<p class=”form_info”>’.__(“Message”,”ubllecia”).’ <span class=”required”>*</span></p><textarea name=”comment” id=”comment” class=”fullwidtharea” ></textarea>’,
    ‘comment_notes_after’ => false

    Hi,

    If you have the following code in the comments.php file (here yourwordpresswebsite/wp-content/themes/yourtheme’):

    do_action( ‘comment_form_after_fields’ );

    then you need to find it and paste into the needed place. If this code is absent in your file, it will not be possible to change the location of Captcha in your form.

    Regards,
    BestWebSoft Support Team

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘captcha input field in wrong position’ is closed to new replies.