Sauter la navigation

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.

Laisser une réponse

Veuillez rester dans le sujet et respecter les autres. Si vous avez besoin d'aide pour des questions qui ne sont pas liées à ce message, utilisez notre Forum d'assistance pour entamer une discussion ou soumettre un ticket.

Vous pouvez utiliser ces balises :
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>