تخطي الملاحة

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using the Essential Addons for Elementor‘s Filterable Gallery widget with WPML,  the following fields; eael_fg_control, eael_fg_gallery_item_name, eael_fg_gallery_control_name, eael_fg_gallery_item_video_link, fg_item_cat fields cannot be translated.

Workaround

Add the following XML in WPML > Setting > Custom XML Configuration:

<wpml-config>
   <elementor-widgets>
      <widget name="eael-filterable-gallery">
         <fields-in-item items_of="eael_fg_gallery_items">
            <field type="Filterable Gallery: eael_fg_gallery_item_name" editor_type="LINE">eael_fg_gallery_item_name</field>
            <field type="Filterable Gallery: eael_fg_gallery_control_name" editor_type="LINE">eael_fg_gallery_control_name</field>
            <field type="Filterable Gallery: Item Link" editor_type="LINK">eael_fg_gallery_item_video_link</field>
            <field type="Filterable Gallery: Item Category" editor_type="LINE">fg_item_cat</field>
         </fields-in-item>
         <fields-in-item items_of="eael_fg_controls">
            <field type="Filterable Gallery: Category" editor_type="LINE">eael_fg_control</field>
         </fields-in-item>
      </widget>
   </elementor-widgets>
</wpml-config>
 

Then apply a small edit to the post for these new fields to load in the translation editor.

ترك رد

يُرجى البقاء في الموضوع والتزام الاحترام للآخرين. إذا كنت بحاجة إلى مساعدة بشأن المشكلات التي لا تتعلق بهذا المنشور، فاستخدم منتدى الدعم لبدء محادثة أو إرسال تذكرة.

يمكنك استخدام هذه العلامات:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>