Skip Navigation

Waiting for author

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>
    

Leave a Reply

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.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>