Saltar navegación

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>
    

Deje una respuesta

Por favor, mantente dentro del tema y sé respetuoso con los demás. Si necesitas ayuda con cuestiones no relacionadas con este post, utiliza nuestro Foro de soporte para iniciar un chat o enviar un ticket.

Puede utilizar estas etiquetas:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>