Hi
When we use reCaptcha v3 for our Enfold contact forms, there is shown the following text under the contact form:
“reCAPTCHA geschützt und es gelten die Google Datenschutzerklärungen und Nutzungsbedingungen”
This is very good. The only problem is, that the links to Datenschutzerklärung (data protection) and Nutzungsbedingung (terms of use) are opened in the same tab.
Is it possible to do something, that this links are opened in a new tab? Would be nice, if the solution will work for every contact form on a website, not only on one page.
Thanks very much.
Best regards
Mike
Hey Mike,
Sorry for the late reply!
Please add following code to bottom of functions.php file in Appearance > Editor
add_filter('avf_google_recaptcha_badge_content','avf_google_recaptcha_badge_content_mod');
function avf_google_recaptcha_badge_content_mod($badge){
$badge = '<div class="av-google-badge-message hidden">';
$badge .= __( 'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" taget="_blank">Terms of Service</a> apply.', 'avia_framework' );
$badge .= '</div>';
return $badge;
}
Best regards,
Yigit
Hi Yigit
Thanks for your response.
It works fine ;-)
You can close this issue.
Best regards
Mike