Bỏ qua điều hướng

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.

Để lại câu trả lời

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

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>