Salta la navigazione

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>
    

Lasciare una risposta

Ti preghiamo di rimanere in tema e di essere rispettoso nei confronti degli altri. Se hai bisogno di aiuto per questioni non correlate a questo post, utilizza il nostro Forum di supporto per avviare una chat o inviare un ticket.

Potete usare questi tag:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>