Sauter la 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>
    

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>