Chuyển đến nội dung Chuyển đến thanh bên

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.

Để lại trả lời

Vui lòng giữ đúng chủ đề và tôn trọng người khác. Nếu bạn cần trợ giúp với các vấn đề không liên quan đến bài đăng này, hãy sử dụng Diễn đàn Hỗ trợ của chúng tôi để bắt đầu trò chuyện hoặc gửi vé hỗ trợ.

Bạn có thể sử dụng các thẻ này:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>