在我的wordpress站点版本4.9.8中,我将recaptcha密钥集成在contactform7集成部分中,但未显示在前面的site中,当在浏览器中进行检查时,验证码是可用的。
<div class="wpcf7-form-control-wrap"><div data-sitekey="6LcTY3QUAAAAAJVClNKADZrdtNYPs5Z0tm2r8etn" class="wpcf7-form-control g-recaptcha wpcf7-recaptcha recaptcha" id="recaptcha"></div>
<noscript>
<div style="width: 302px; height: 422px;">
<div style="width: 302px; height: 422px; position: relative;">
<div style="width: 302px; height: 422px; position: absolute;">
<iframe src="https://www.google.com/recaptcha/api/fallback?k=6LcTY3QUAAAAAJVClNKADZrdtNYPs5Z0tm2r8etn" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;">
</iframe>
</div>
<div style="width: 300px; height: 60px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;">
</textarea>
</div>
</div>
</div>
</noscript>
</div>