דלג לתוכן דלג לסרגל צד

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>