تخطي إلى المحتوى تخطي إلى الشريط الجانبي

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>