- สถานะ
- แก้ไขแล้ว
- ปลั๊กอิน/ธีมที่เกี่ยวข้อง
- Divi
- แท็กหัวข้อ
- Compatibility
ภาพรวมของปัญหา
เมื่อใช้โมดูล Email Optin ของ Divi ร่วมกับ WPML ฟิลด์ตัวเลือกที่กำหนดเอง เช่น Radio, Select หรือ Checkbox อาจแสดงคำแปลไม่ถูกต้อง โดยจะแสดงมาร์กอัป shortcode ดิบแทน
วิธีแก้ปัญหาชั่วคราว
- ไปที่ WPML > การตั้งค่า > การกำหนดค่า XML ที่กำหนดเอง ในแดชบอร์ด WordPress ของคุณ
- เพิ่มการกำหนดค่า XML ต่อไปนี้และบันทึก:
<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>