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

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>