WPML
Status
Gelöst
Zugehöriges Plugin/Theme
Divi
Themen-Tags
Compatibility

Übersicht über das Problem

Wenn Sie das Email Optin-Modul von Divi mit WPML verwenden, werden Übersetzungen in benutzerdefinierten Auswahlfeldern wie Radio, Select oder Checkbox möglicherweise nicht korrekt angezeigt, wobei stattdessen unformatiertes Shortcode-Markup ausgegeben wird.

Problemumgehung

  • Gehen Sie in Ihrem WordPress-Dashboard zu WPML > Einstellungen > Benutzerdefinierte XML-Konfiguration.
  • Fügen Sie die folgende XML-Konfiguration hinzu und speichern Sie:
    <wpml-config>
      <shortcodes>
        <shortcode>
          <tag>et_pb_signup_custom_field</tag>
          <attributes>
            <attribute encoding="allow_html_tags">field_title</attribute>
            <attribute encoding="divi_options">checkbox_options</attribute>
            <attribute encoding="divi_options">select_options</attribute>
            <attribute encoding="divi_options">radio_options</attribute>
          </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
            

Alle bekannten Probleme →