WPML
状态
已由作者解决
解决于
Litho 2.0
相关插件/主题
Litho
主题标签
Compatibility

问题概述

如果您使用的是 Litho 主题Elementor 插件,您会发现 Litho HeaderLitho Icon box 小工具未显示在高级翻译编辑器(ATE)中以供翻译。

临时解决方法

在继续操作之前,请确保已对您的站点进行完整备份


  • 前往 WPML > 设置 > 自定义 XML 配置页面。

  • 添加以下代码:
    <wpml-config>
      <elementor-widgets>
        <widget name="litho-icon-box">
          <fields>
            <field type="Title" editor_type="LINE">litho_title_text</field>
            <field type="Description" editor_type="AREA">litho_description_text</field>
            <field type="Link" editor_type="LINK">litho_link>url</field>
            <field type="Title" editor_type="LINE">litho_primary_button_text</field>
            <field type="Link" editor_type="LINK">litho_primary_button_link>url</field>
          </fields>
        </widget>
        <widget name="litho-heading">
          <fields>
            <field type="Title" editor_type="LINE">litho_title</field>
            <field type="Link" editor_type="LINK">litho_link>url</field>
            <field type="Title" editor_type="LINE">litho_secondary_title</field>
            <field type="Link" editor_type="LINK">litho_secondary_link>url</field>
          </fields>
        </widget>    
      </elementor-widgets>
    </wpml-config>

  • 刷新您的页面及其翻译。

所有已知问题 →