What file should I modify?  templete-contact-page.php?
and what line the line should be? 

  <?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ; ?>

reCAPTCHA show in the form but does not work...

Also, how to modify default "Subject" MAIL FROM YOUR WORDPRESS BLOG SITE  ? 


  • edited March 2018
    Thanks for asking query to us . 

    if you want to add Recaptcha in contact form . 
    Refer below this thread link . 

    Let me know  for any confusion . 

  • I assuming I'm editing a right file:  /wp-content/themes/healthcentre-pro/template-contact-page.php

    Here is the code:

    <div class="hc_form_group">
    <label for="Comment"><?php _e('Comment','health') ?></label>
    <textarea class="hc_con_textarea_control" name="user_comment" id="user_comment" rows="5"></textarea>
    <span  style="display:none; color:red" id="contact_massage_error"><?php _e('Message','health'); ?></span>
    <?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ; ?>
    <button class="hc_btn" type="submit" name="contact_submit" id="contact_submit"><?php _e('Send Message','health'); ?></button>
    <span  style="display:none; color:red" id="contact_nonce_error"><?php _e('Sorry, your nonce did not verify','health');?></span> </form>

    Captcha showing up fine but it doesn't matter if I check or not....I'm still getting response green bar "Thank you for your message" so it does not take any effect.... 
  • Hello 
    I have checked plugin featured Captcha field is not “Required”  field . 
    You if you want to make it required You need to contact plugin author to make it required . 
    Refer this link . 

    Let me know for further assistance . 

  • Is the other form the same - Contact 7 form?
  • edited April 2018
    If you are using contact form 7 plugin . 
    Kindly   assign Contact Page with CF7 Page template   and get contact form 7  form . 

    To add reCapcha  in contact form 7   refer below link . 

    Let me know for further assistance . 


Sign In or Register to comment.