Guest User

Untitled

a guest
Mar 26th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. Step 1: Firstly login to https://www.google.com/recaptcha/ and generate your website Unique reCAPTCHA code.
  2.  
  3. Step 2: Go to your WordPress admin panel. Open up Edit templates. Find and edit the header file. Paste this snippet before the closing </head> tag on your HTML template.
  4. <script src='https://www.google.com/recaptcha/api.js'></script> and save.
  5.  
  6. Step 3: Open up and edit your contact-us.php file. Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear.
  7.  
  8. <div class="g-recaptcha" data-sitekey="your_data_key_that_you_generated_in_google"></div>
  9.  
  10. That's it, now the Google reCAPTCHA shows up on your contact form.
  11.  
  12. take help of this video tutorial - https://www.youtube.com/watch?v=XjN0j4JQqVI
  13.  
  14. Hope it was helpful! Good luck!
Add Comment
Please, Sign In to add comment