跳到内容 跳到侧边栏

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using the WoodMart theme’s Promo Banner widget in Elementor with WPML, the banner image does not display the translated version, even after using WPML Media Translation.

Workaround

  1. Go to WPML > Settings > Custom XML Configuration.
  2. Add the following configuration code and save:
    <wpml-config>
      <elementor-widgets>
        <widget name="wd_banner">
          <fields>
            <field type="post-ids" sub-type="attachment">image>id</field>
            <field>image>alt</field>
            <field>subtitle</field>
            <field>title</field>
            <field>btn_text</field>
            <field>content</field>
          </fields>
        </widget>
      </elementor-widgets>
    </wpml-config>
            
  3. Make a small edit to the original page and save it.
  4. Re-save your translation.

发表回复

保持话题相关并尊重他人。如果您需要与此帖子无关的问题帮助,请使用我们的支持论坛开始聊天或提交工单。

您可以使用这些标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>