- 状态
- 等待作者
- 相关插件/主题
- Divi Supreme Modules
问题概述
使用 Divi Supreme Modules 时,FAQ 小工具的说明字段不可翻译,只有标题可以翻译。
临时解决方法
1- 前往 WPML > 设置 > 自定义 XML 配置选项卡
2- 粘贴以下 XML 代码:
<wpml-config>
<shortcodes>
<shortcode>
<tag label="Supreme FAQ Wrapper">dsm_faq</tag>
</shortcode>
<shortcode>
<tag label="Supreme FAQ Item">dsm_faq_child</tag>
<attributes>
<attribute label="FAQ Title">dsm_title</attribute>
<attribute label="FAQ Content" encoding="allow_html_tags">dsm_content</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>
3- 重新编辑相关页面并重新翻译