WPML
Status
Resolved by author
Related plugin/theme
ElementsKit
Topic tags
Compatibility

Overview of the issue

The “Read More” button links in the Image Accordion widget of ElementsKit plugin are not automatically translating when using WPML. The issue persists even after configuring translation settings correctly in WPML. The links remain untranslated in secondary languages when using Advanced Translation Editor (ATE).

Workaround

Please, make sure of having a full site backup of your site before proceeding.


  • Go to WPML > Settings > Custom XML Configuration page.

  • Add the following XML:
    <wpml-config>
      <elementor-widgets>
        <widget name="elementskit-image-accordion">
          <conditions>
            <condition key="widgetType">elementskit-image-accordion</condition>
          </conditions>
          <fields-in-item items_of="ekit_img_accordion_items">
            <field type="Image Accordion: Title" editor_type="LINE">ekit_img_accordion_title</field>
            <field type="Image Accordion: Button Label" editor_type="LINE">ekit_img_accordion_button_label</field>
            <field type="Image Accordion: Wrap URL" editor_type="LINK" key_of="ekit_img_accordion_wrap_link_url">url</field>
            <field type="Image Accordion: Button URL" editor_type="LINK" key_of="ekit_img_accordion_button_url">url</field>
            <field type="Image Accordion: Project Link" editor_type="LINK" key_of="ekit_img_accordion_project_link">url</field>
          </fields-in-item>
        </widget>
      </elementor-widgets>
    </wpml-config>

All known issues →