问题概述
在Exclusive Addons Elementor中,Call To Action小工具的说明不会显示在翻译编辑器中。翻译后的页面会以默认语言显示该说明。
临时解决方法
在 Exclusive Addons 修复此问题之前,您可以将说明添加到小工具的翻译设置中:
- 前往 WPML设置,打开自定义 XML 配置,添加以下内容并保存:
<wpml-config> <elementor-widgets> <widget name="exad-call-to-action"> <conditions> <condition key="widgetType">exad-call-to-action</condition> </conditions> <fields> <field type="Call To Action : Heading" editor_type="LINE">exad_cta_heading</field> <field type="Call To Action : Description" editor_type="VISUAL">exad_cta_description</field> <field type="Call To Action : Primary Button Text" editor_type="LINE">exad_cta_primary_btn</field> <field type="Call To Action : Secondary Button Text" editor_type="LINE">exad_cta_secondary_btn</field> <field type="Call To Action : Primary Button URL" editor_type="LINK" key_of="exad_cta_primary_btn_link">url</field> <field type="Call To Action : Secondary Button URL" editor_type="LINK" key_of="exad_cta_secondary_btn_link">url</field> </fields> </widget> </elementor-widgets> </wpml-config> - 在 Elementor 中编辑原始页面并更新。
- 再次翻译该页面。翻译编辑器现在会显示该说明。