- Trạng thái
- Đã giải quyết
- Plugin/giao diện liên quan
- Divi
- Thẻ chủ đề
- Compatibility
Tổng quan về lỗi
Khi sử dụng mô-đun Email Optin của Divi với WPML, các trường lựa chọn tùy chỉnh như Radio, Select hoặc Checkbox có thể không hiển thị bản dịch chính xác, mà thay vào đó lại hiển thị mã shortcode thô.
Giải pháp tạm thời
- Truy cập vào WPML > Cài đặt > Cấu hình XML tùy chỉnh trong bảng điều khiển WordPress của bạn.
- Thêm cấu hình XML sau và lưu:
<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>