我试图在主题的根目录中添加wpmlconfig.xml。文件只有一个选项:
<wpml-config>
<custom-field action="translate">block_1</custom-field>
</wpml-config>

但是,无论我做什么选项都不会在翻译管理中被选中(检查上面的图片)。我在这里错过了什么?
发布于 2014-02-09 15:13:08
它丢失了主选项键。它应该是:
<wpml-config>
<custom-fields>
<custom-field action="translate">block_1</custom-field>
</custom-fields>
</wpml-config>有关WPML语言配置文件的更多信息如下:
http://wpml.org/documentation/support/language-configuration-files/
https://stackoverflow.com/questions/21660013
复制相似问题