星期二, 9月 17, 2024

[WPML] 啟動自訂post type支援多語言編輯

很常見會使用ACF工具自訂文章類型與分類,透過WPML外掛也很容易將它們支援多國語言。

如下設定: 




[Rankmath] sitemap異常處理: XML declaration allowed only at the start of the document

 

This page contains the following errors:

error on line 3 at column 6: XML declaration allowed only at the start of the document

Below is a rendering of the page up to the first error.

依ChatGPT給的建議,一下子就找到問題!!
結果是自已的主題functions.php,結尾多點了二行XD