跳转至内容 跳转至侧边栏
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

支持人员时区: Asia/Karachi (GMT+05:00)

標籤: 

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 sarahS-20 2 weeks, 1 days前 更新。

协助者:: Noman.

作者 帖子
2 7 月, 2025 于 11:37 上午 #17192619

sarahS-20

Background of the issue:
I am trying to edit posts in a custom post type (CPT) on my site 隐藏链接. I am using WPML and following the documentation on the WPML main site.

Symptoms:
When I click the WP admin bar edit while in translated language, it says 'Invalid post type.' Additionally, when I switch the language globally in the admin area from English to another language, all the CPTs disappear from the WP Admin menu.

Questions:
Why do CPTs disappear from the WP Admin menu when I change the language?
How can I resolve the 'Invalid post type' error when trying to edit posts in CPT?

主题 “[關閉] CPTs disappear in WP Admin menu when changing language” 已关闭,不接受新回复。