Title: reCAPTCHA Issue: FIXED!
Last modified: March 26, 2020

---

# reCAPTCHA Issue: FIXED!

 *  Resolved [dim7chord](https://wordpress.org/support/users/dim7chord/)
 * (@dim7chord)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/recaptcha-issue-fixed/)
 * For months I’ve been having issues integrating reCAPTCHA on my sites. If I enabled
   reCAPTCHA, my form would error and the email wouldn’t send. If I removed the 
   reCAPTCHA, the form worked just fine. I’ve made several themes on my own, but
   I just learned today that WordPress injects important code into the header and
   footer via wp_head and wp_footer. Adding these to my theme fixed the issue!
 * Add: `<?php wp_head(); ?>` to the header.php
    Add: `<?php wp_footer(); ?>` to
   the footer.php
 * I read CF7’s docs over and over and I couldn’t figure it out so I figured I’d
   post this hear to help everyone. I hope this helps.

The topic ‘reCAPTCHA Issue: FIXED!’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [reCAPTCHA](https://wordpress.org/support/topic-tag/recaptcha/)

 * 0 replies
 * 1 participant
 * Last reply from: [dim7chord](https://wordpress.org/support/users/dim7chord/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/recaptcha-issue-fixed/)
 * Status: resolved