Перейти к содержимому Перейти к боковой панели

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 комментария к “Element Pack Pro - Internal links added to the Wrapper link field are not translated automatically”

Оставить ответ

Пожалуйста, придерживайтесь темы и уважайте других. Если вам нужна помощь по вопросам, не связанным с этим сообщением, используйте наш Форум поддержки, чтобы начать чат или отправить заявку.

Вы можете использовать эти теги:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>