Ir al contenido Ir a la barra lateral

Open

Overview of the issue

When using Element Pack Pro with WPML, you might experience the following issue: internal links added via the «Wrapper link» field in Elementor widgets are not translated automatically.

Workaround

Element Pack Pro is currently not compatible with WPML. To enable translation of the Wrapper link field, you will need to manually re-register any compatible Elementor widgets where you are using it by adding element_pack_wrapper_link>url to WPML’s custom XML configuration.

Here is an example with the Icon Box and the Button Widgets.

  1. Go to WPML > Settings > Custom XML Configuration
  2. Add the following configuration code and save:
    <wpml-config>
      <elementor-widgets>
        <widget name="icon-box">
          <fields>
            <field>title_text</field>
            <field>description_text</field>
            <field editor_type="LINK">link>url</field>
            <field editor_type="LINK">element_pack_wrapper_link>url</field>
          </fields>
        </widget>
        <widget name="button">
          <fields>
            <field>text</field>
            <field editor_type="LINK">link>url</field>
            <field editor_type="LINK">element_pack_wrapper_link>url</field>
          </fields>
        </widget>
      </elementor-widgets>
    </wpml-config>
            

2 respuestas a “Element Pack Pro - Internal links added to the Wrapper link field are not translated automatically”

Dejar una respuesta

Por favor, mantente en el tema y sé respetuoso con los demás. Si necesitas ayuda con problemas no relacionados con esta publicación, utiliza nuestro Foro de soporte para iniciar un chat o enviar un ticket.

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