Theme preventing Google reCaptcha API from being called, reCaptcha not rendering
-
I have configured reCaptcha and inserted the tag into my form, but the form is not rendering.
The code is there, I can see it in my source.
This problem was illustrated in this thread – https://www.ads-software.com/support/topic/recaptcha-not-visible
but no solution was provided other than the theme is responsible for messing up the output of the code. Can anyone provide insight as to why this is so I can modify my theme to make it work correctly?
I am adding this to my functions.php file to get it to work correctly —
wp_register_script('recaptcha_api', 'https://www.google.com/recaptcha/api.js'); wp_enqueue_script('recaptcha_api');
and it works… but can anyone elaborate as to why? I shouldn’t need to do this correct? Shouldn’t the integration work without me needing to add this, which means something is preventing it still correct?
Thanks
- The topic ‘Theme preventing Google reCaptcha API from being called, reCaptcha not rendering’ is closed to new replies.