eleti
Forum Replies Created
-
Forum: Plugins
In reply to: [JS Archive List] Conflict with PolylangThe fix fixed it 🙂
Forum: Plugins
In reply to: [JS Archive List] Conflict with PolylangHaving a change of mind here, sorry.. please kindly use this email:
[email protected]Forum: Plugins
In reply to: [JS Archive List] Conflict with PolylangOops! The email actually bounced back.
Would you mind letting me know your email address here?Forum: Plugins
In reply to: [JS Archive List] Conflict with PolylangGreat!
I just sent an email to [email protected]. You can send me a fix there.Thank you!
Forum: Plugins
In reply to: [JS Archive List] Conflict with PolylangYes, it does.
Here’s the site where the error occurs:
http://www.kbfweb.org/en/messages/
It happens on the sidebar.I saw just then (on a testing site) that this error started after I updated to the latest Polylang plugin.
Forum: Plugins
In reply to: [Contact Form 7] How to set the reCaptcha language?@takayuki Miyoshi
Thank you very much! That was exactly what I have been looking for; relieved that I could leave the plugin’s code undisturbed.
Cheers,
EunikeForum: Plugins
In reply to: [Contact Form 7] How to set the reCaptcha language?@nathair perhaps you can try this (it’s an expansion from the solution provided by krko)
In the same file recaptcha.php under modules folder line 240, add the checking of the language (in my case it’s either English or Japanese by default, so please change accordingly):
function wpcf7_recaptcha_enqueue_scripts() { $url = 'https://www.google.com/recaptcha/api.js'; $lang = get_bloginfo('language'); if ( $lang === 'en-US' ) { $url = add_query_arg( array( 'onload' => 'recaptchaCallback', 'hl' => 'en', 'render' => 'explicit' ), $url ); } else { $url = add_query_arg( array( 'onload' => 'recaptchaCallback', 'hl' => 'ja', 'render' => 'explicit' ), $url ); } wp_register_script( 'google-recaptcha', $url, array(), '2.0', true ); }All the best,
Eunike