Custom Registration and Login Forms with reCaptcha 2 Validation

First connect the CAPTCHA script (add to: functions.php) function onwp_enqueue_frontend() { wp_enqueue_script(‘ha-recaptcha’, ‘https://www.google.com/recaptcha/api.js’, array(‘jquery’), ‘1.0’, true); } add_action(‘wp_enqueue_scripts’, ‘onwp_enqueue_frontend’); In the form of adding the following html code to display the captcha <div class=”g-recaptcha” data-sitekey=”YOU_SITE_CODE”></div> YOU_SITE_CODE – replaced by your code Next, add the CAPTCHA validation feature $recaptcha = $_POST[‘data’][‘g_recaptcha_response’]; if (!empty($recaptcha)) { $google_url = … Read more

Capcha not getting displayed

I think you have problem in font files path. Just check this link. Please fix your font path. You can check this page for reference. Read the comment section of this page. Thanks