mailchimp-for-wordpress
mailchimp-for-wordpress copied to clipboard
WPML String Translation not working for checkout checkbox and CF7 label text
Workaround:
[mc4wp_checkbox "Custom label text"]
(which is arguably a nicer solution anyway)
@dannyvankooten Can you please give example how to use this shortcode?
@srdjan-jcc When using Contact Form 7 you should be able to simply paste that shortcode in your CF7 form mark-up. The "part between the quotes" is the text that will be shown for the checkbox label. If not given, it will use the default checkbox label text given in MailChimp for WP > Integrations > Contact Form 7. Does that clarify?
[mc4wp_checkbox "Custom label text"]
Or, without custom label text.
[mc4wp_checkbox]
@dannyvankooten Thank you for info, I managed to replicated issue.
Please let me know - is custom label in shortcode offered as workaround for this earlier issue: https://github.com/ibericode/mailchimp-for-wordpress/issues/280 ?
It was already fixed according to this commit: https://github.com/ibericode/mailchimp-for-wordpress/commit/20c6c2ce367736b160837b55eb86aa13abe43f70
Is issue re-introduced with later commits?
I tested adding correct intialization hook and worked fine:
add_action( 'plugins_loaded', '_mc4wp_bootstrap_integrations', 100 );
Are there some reasons why you cannot use hook?
I also tested this workaround https://github.com/OnTheGoSystems/mailchimp-for-wordpress/commit/bb82afefb51ea5185191fce073ced3a64ead2363
Please let me know.