- ステータス
- 解決済み
- 関連するプラグイン/テーマ
- Divi
- トピックタグ
- Compatibility
問題の概要
WPMLでDiviのEmail Optinモジュールを使用する場合、Radio、Select、Checkboxなどのカスタム選択フィールドの翻訳が正しく表示されず、代わりに生のショートコードマークアップが表示される場合があります。
回避策
- WordPressダッシュボードでWPML > 設定 > カスタム XML 設定に移動します。
- 以下の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>