问题概述
当与 WPML 一起使用MailOptin Pro时,MailOptin 区块的 optin 无法在翻译中更改,并且[mo-click-launch]简码的链接文本不会进入翻译。
临时解决方法
- 对于 Optin:请在简码区块中使用简码
[mo-optin-form id="..."],而不是 MailOptin 区块。您可以在翻译中为每种语言选择不同的 Optin。 - 对于链接文本:前往 WPML设置自定义 XML 配置,添加以下 XML 并保存:
XML
<wpml-config> <shortcodes> <shortcode> <tag>mo-click-launch</tag> <attributes> <attribute>link</attribute> </attributes> </shortcode> </shortcodes> </wpml-config>