Support » Plugin: Contact Form 7 » Google reCAPTCHA not working in widget?

  • Hi!

    First of all, thank you for a great plugin, I am using version 4.5.1.

    I have come across a potential bug so I am noting it here.

    I have a form with a Google reCAPTCHA integration and it is working great everywhere it is inserted on the page, except for in the footer. If I place the shortcode for a contact form (that has a reCAPTCHA) in a widget in the footer of my theme, the reCAPTCHA does not show up unless I am also on a page where I have included the same form outside of the widget areas, for instance in the regular page area.

    So in short:

    1. Create a form with a recaptcha integration
    2. Place the form in a widget area, for instance in the footer
    3. Visit a page that does not have any other contact form inserted on the page -> reCAPTCHA does not show up in footer
    4. Create a page with a reCAPTCHA contact form inserted in the post content, visit it -> reCAPTCHA shows up in both regular post content and footer

    I hope I have described the issue clearly enough to be able to reproduce.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi


    Where can I see the site?

    Hi Takayuki,

    Thank you for the quick reply. Unfortunately it is a work in progress site and cannot be displayed in public yet (therefore I don’t want to write it here). If there is a way for me to send more information to you via email or another method, I can do that.

    Plugin Author Takayuki Miyoshi


    OK, but you don’t need to send me a private message because you can do it yourself.

    Make sure you have the Contact Form 7 shortcode in footer.php prior to the wp_footer() call.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google reCAPTCHA not working in widget?’ is closed to new replies.