Passer la navigation

[Résolu] Custom Post Type disappeared from WP admin menu

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

Show the custom post type in the admin menu

Solution:

You can edit the custom post type, enable option "show_in_menu".

Relevant Documentation:

https://developer.wordpress.org/reference/functions/register_post_type/#show_in_menu

This support ticket is created Il y a 4 years, 9 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Luciana Il y a 4 years, 9 months.

Assisté par: Luo Yang.

Auteur
Publications
#2157447
Captura de Pantalla 2021-09-01 a la(s) 14.51.34.png
Captura de Pantalla 2021-09-01 a la(s) 14.51.58.png

I am trying to: I'm using Toolset on WP. In the backend, I'm trying to get access to the custom Post type I created, from the WP menu, left column, but now it's gone! It was working properly until I modified some Toolset settings, like the placement or so. Then it suddenly vanished from the menu. I remember having this same issue once with Pods… Any ideas?

Link to a page where the issue can be seen:

I expected to see: My Custom Post Type, as was shown before the bug

Instead, I got: No access to my Custom Post Type on the WP menu anymore

#2157961

Hello,

Thanks for the details, I have done below modifications in your website:
Edit the post type "Products":
lien caché
in section "Options", enable option "show_in_menu", and it works fine now.

More help:
https://developer.wordpress.org/reference/functions/register_post_type/#show_in_menu
(boolean or string) (optional) Where to show the post type in the admin menu

#2162293

My issue is resolved now. Thank you!