Перейти к содержанию Перейти к боковой панели

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>