ووردبريس Wordpress اخفاء how to hide protected by reCAPTCHA
reCAPTCHA logo turn off- Remove re-captcha badge from all pages of website
reCaptcha badge on ALL pages, not just pages with Contact Forms!
Disable recaptcha v3 for all pages EXCEPT the one with a contact7 form
How do I hide reCAPTCHA v3 badge?



The new plugin update has caused the v3 “invisible” recpatcha to show up on all pages, even one ones without a contact7 form. Is there a setting to disable this? Or can this be fixed?
منذ شهر ديسمبر 2019 الاصدار الجديد من reCAPTCHA type:v3 اصبح الان مخفي ويعتمد على score
ويضع بادج فى اسفل الموقع على اليمين, ولاخفاء البادج اتبع الاتى :

--------------------------------
فى حالة الرغبة فى اخفائها عن جميع الصفحات
--------------------------------

ضع هذا الكود فى css

كود:
.grecaptcha-badge {
display: none !important;
}
او


كود:
.grecaptcha-badge {
    visibility: hidden;
}
Note if you set the CSS to “display:none” it BREAKS the functionality. Instead, use “visibility: hidden” or “opacity: 0”
--------------------------------
فى حالة الرغبة فى اظهارها / اخفائها عن صفحات محددة
--------------------------------

داخل function.php فى child ضع هذا الكود
كود:
//Remove Google ReCaptcha code/badge everywhere apart from select pages
add_action('wp_print_scripts', function () {
    //Add pages you want to allow to array
    if ( !is_page( array( 'contact','some-other-page-with-form' ) ) ){
        wp_dequeue_script( 'google-recaptcha' );
        //wp_dequeue_script( 'google-invisible-recaptcha' );
    }
});