ReCaptcha on contact-page

Is it possible to use ReCaptcha on the standard contact-template in the shop or do I have to make a complete new form?

Kind regards,

Pim

Comments

  • Hi t3live

    To use Recaptcha in your theme contact template with theme standard contact form follow the given instructions.

    1. Install the Google Captcha from wordpress.org https://wordpress.org/plugins/google-captcha/
    2. Configure the plugin settings.
    3. Go to in your theme directory >> contact.php and file the line number 47 and add the below give code here 

    <?php echo apply_filters( 'gglcptch_display_recaptcha', '' ); ?>

    4. Save and check.

    Let me know if you have any other questions.

    Thanks
    A
  • Hello Abishek,

    It works, but.... Since the emailadress of the sender is displayed in the email which is sent to us, it's mainly marked as "spam". is it possible to change this procedure?

    Kind regards,

    Pim
  • Hi t3live

    Please create a new thread for your new query multiple query in single thread create complexity to handle better support query.

    Thanks
    A
  • Hello Abhishek,

    I do have another issue about the main question ;-). I've added the code on line 47, the ReCaptcha is displayed on the contact-page above the "send-button" but when I test it, the form also works without the ReCaptcha-permission. You can click on "send" and the form is processed without reCaptcha. What do I do wrong?

    Kind regards,

    Pim
  • Hi t3live

    It requires core code customize so i will suggest you to add customize code  in child theme you can read more about child theme here https://codex.wordpress.org/Child_Themes

    Now Follow given instructions.

    1. Create a child theme you can use this plugin to create child theme https://wordpress.org/plugins/orbisius-child-theme-creator/

    2. Go to in your theme directory and copy contact.php and now go to in your child theme directory and paste here contact.php file.

    3. Find attached code in https://pastebin.com/Ws1PnGnk and replace in your child theme contact.php file.

    Let me know now did it work for you.

    Thanks
    A


  • Hello Abhishek,

    I'm not a fan of Child Themes ;-). I think it should also work when editing the "Original" contact.php with the code you've supplied? I've tried that but I still can send the form without reCaptcha authorized?

    Kind regards,

    Pim
  • Hi 

    Its really strange can you please share your site admin details so we can take a closer look and fixed this for you.

    Thanks
    A

  • Hello Abhishek,

    I've upload the contact.php again and now it seems to work..... Thanks!

    Pim
  • Hi t3live

    Glad to know its work for you. 

    If you like our theme and support can i ask you for a good review here https://wordpress.org/support/theme/elitepress/reviews/?filter=5

    If you have any other questions let me know.

    Thanks
    A
This discussion has been closed.