[英]Wordpress Custom Post Type not showing in admin menu (created with CPT UI)
I created a Custom Post Type using CPT UI Plugin
called program
and added contents to Custom Post Type which I created. 我使用称为
program
CPT UI Plugin
创建了自定义帖子类型,并将内容添加到我创建的自定义帖子类型中。 Suddenly that menu item is not showing in admin menu (so far it showed in admin menu and I have already added posts to it). 突然,该菜单项未显示在管理菜单中(到目前为止,它已显示在管理菜单中,而我已经在其中添加了帖子)。
Note: Previously added Custom Posts showing in Front-End and working fine. 注意:以前添加的自定义帖子显示在前端并且工作正常。 How can I get to display this Custom Post in Admin Menu ?
我如何在管理菜单中显示此自定义帖子? I tried using changing the host and still the same thing happening.
我尝试使用更改主机,并且仍然发生相同的事情。
Thanks in Advance 提前致谢
I fixed the issue which I struggled so far. 我解决了到目前为止我一直在努力的问题。
In CPT UI plugin there is a setting called show_in_menu
. 在CPT UI插件中,有一个名为
show_in_menu
的设置。 That should be true
to show the created custom post type in admin menu. 要在管理菜单中显示创建的自定义帖子类型,该设置为
true
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.