- Status
- Resolved
- Related plugin/theme
- Divi
- Topic tags
- Compatibility
Overview of the issue
When using Divi‘s Email Optin module with WPML, custom choice fields such as Radio, Select, or Checkbox may not display translations correctly, showing raw shortcode markup instead.
Workaround
- Go to WPML > Settings > Custom XML Configuration in your WordPress dashboard.
- Add the following XML configuration and save:
<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>