Home › Forums › Support › recaptcha v2 Checkbox not showing in Generatepress only, works in other themes
- This topic has 15 replies, 5 voices, and was last updated 3 years, 3 months ago by David.
-
AuthorPosts
-
January 19, 2021 at 1:01 am #1624574Dale
Hi there
recaptcha v2 Checkbox is not showing in Generatepress only, it works in other themes.
I use the Health Check & Troubleshooting plugin to disable all plugins and change themes.
With theme Twenty Twenty recaptcha works.
However not with Generatepress. Even with all plugins disabled.
I appreciate your advice thank you.
January 19, 2021 at 2:21 am #1624648DavidStaffCustomer SupportHi there,
can you share a link to the GP site where the recaptcha is not working ?
January 19, 2021 at 2:29 am #1624662DaleHi David thank you for your reply.
The link is here
https://locateconference.com/contact
Where the “CAPTCHA” title is should be the recaptcha.
Thanks very much
DaleJanuary 19, 2021 at 3:25 am #1624720DavidStaffCustomer SupportCan you temporarily disable your child theme to see if that is interfering ?
January 19, 2021 at 3:31 am #1624731DaleDavid I’ve tested with Generatepress parent theme activated already thanks.
January 19, 2021 at 3:40 am #1624750DavidStaffCustomer SupportSorry i just saw an error in the console that points to a child theme folder –
tcc_child_theme
its unrelated to reCaptcha but something is making the request, hence why i thought a child theme was enabled.The Theme itself doesn’t know what you add to the page, and doesn’t interfere with how content is rendered. So something else is interfering with that. If switching themes fixes the issue then i would begin looking at an Custom Functions / Hooks that are added to site. Secondly any plugins in case there is a conflict.
January 19, 2021 at 3:43 am #1624752DaleThanks David good advice re custom hooks I will check that out and report back.
You are right it is using a gp child theme btw I meant to say I’ve tested the parent theme with same issue.
Dale
January 19, 2021 at 3:54 am #1624767DavidStaffCustomer SupportLet us know what you find 🙂
January 19, 2021 at 11:29 pm #1625866DaleDavid I removed any elements or hooks. Any further advice thank you. I double check recaptcha works with Twenty Twenty theme.
Thanks
DaleJanuary 20, 2021 at 9:02 am #1626663TomLead DeveloperLead DeveloperHi there,
I’m not seeing a “CAPTCHA” title on the page right now. Is the field still enabled?
January 20, 2021 at 12:06 pm #1626847DaleYep certainly is enabled. I disabled the title “CAPTCHA”. Testing everything!
FYI even the form preview shows the recaptcha fine – inside the Gravity Forms editor in WP Admin.
Could it be order of JS or anything like that?
I notice when Twenty Twenty is active the source code shows a bunch more than when GP is active.
Would you like me to post the 2 themes relevant bit of source code for the form recaptcha?
January 20, 2021 at 1:18 pm #1626904MartyAny chance you’ve deferred/optimized the Javascript on that page? I have GeneratePress and used reCaptcha without any issues until I made an error in Autoptomize/Async Javascript related to the JS code (caused it not to appear).
Disabling that removed the problem.
January 20, 2021 at 2:41 pm #1626996DaleHi Marty I will take a look. I’m not the only manager of this site so I will dig deeper.
Thanks
DaleJanuary 21, 2021 at 12:12 am #1627270ElvinStaffCustomer SupportHi,
To add to Marty’s comment:
Caching and plugin’s merge JS(w3 total cache) or aggregate JS(autoptimize) can make some plugins stop working properly. Some plugins have issues when their .js files gets merged along with the other theme or plugin’s scripts.
Setting script exclusion from aggregation/merge js can fix some issues.
January 21, 2021 at 12:26 am #1627283DaleThanks everyone. I appreciate your continued support.
I’ve tried everything and checked everything as advised.
I’ve added the really simple captcha plugin and used it’s integration with Gravity Forms which works, unlike the Google recaptcha.
Something buried within this site’s particular config that we will have to keep digging to find.
Please close this ticket and thanks again.
-
AuthorPosts
- You must be logged in to reply to this topic.