- 状态
- 已解决
- 相关插件/主题
- Avada
问题概述
当结合动态内容使用 Avada 的 Fusion Post Cards 小工具时,Read more 文本未被翻译。
这是因为 post_card 属性调用的是原始 ID,而不是其翻译。
临时解决方法
- 在 WPML → 设置 → 自定义 XML 配置中添加以下 XML 代码:
<wpml-config> <shortcodes> <shortcode> <tag>fusion_post_cards</tag> <attributes> <attribute type="media-ids">post_card</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> - 使用经典翻译编辑器重新保存您的翻译。