ReCAPTCHA on Contact page

Hello,

We've added the ReCaptcha line on the contact form. We used the following code:

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

Now de ReCaptcha is visible on https://ultrabad.nl/contact/

But visitors are able to send in the form without authorising the ReCaptcha code

What can we do?

Thanks,

Jan

Comments

  • Hi Jan

    Please add the give code snippet in contact-us.php 

    1. Find the the give code line 

    if(isset($_POST['contact_submit']))
    {

    2. Add the bellow give snippet just after the 

    $check_result = apply_filters( 'gglcptch_verify_recaptcha', true, 'string' );
    if ( true === $check_result ) {

    } else { 
        echo $check_result; 
        exit;

    Have a look in screen shot for more info http://prntscr.com/mxbebp

    Let me know did it work.

    Thanks
    A
  • Hi Abhishek,

    I'm afraid that doesn't work. The details aren't coming trough and the message whether it is send or not, isn't displayed. 

    So what can I co?

    Regards,

    Jan
  • Hi j-nl-wp

    Please share your site admin detail on my email id i will add the code for you on your site.


    Thanks
    A
  • Hi,

    Just send an invitation.

    Would you please change the field 'website' to 'Telefoonnummer'

    Thanks,

    Jan
  • Hi j-nl-wp

    Please clear your cache and then check.

    Thanks
    A
  • Hey,

    It works! Great and thank you very much for the excellent support. 

    Tanks,

    Jan
  • Hi 

    Nice to know that the issue has been solved. If there are any further query regarding to our theme, then, please feel free to post them. 

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

    Thanks.
This discussion has been closed.