Pular para o conteúdo Pular para a 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 respostas para “Element Pack Pro - Internal links added to the Wrapper link field are not translated automatically”

Deixe uma resposta

Por favor, mantenha-se no tópico e seja respeitoso com os outros. Se precisar de ajuda com questões não relacionadas a este post, use nosso Fórum de Suporte para iniciar um chat ou enviar um ticket.

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