Hello,
Thanks for the feedback!
The Post Type UI is basically an interface of the native register_post_type() function (See documentation).
As explained in the documentation, you can use the show_in_menu parameter to define the parent menu. For example tools.php to display the post type under the “Tools” menu.
Hope it helps!
Have a nice day!
Regards.
Thread Starter
wpdogz
(@wpdogz)
Hello and thank you for the answer,
so that would mean that I use the name of my Custom Post Type (for instance general-topics) and add .php to it? So I would use general-topics.php in show_in_menu in order to have it as a submenu there?
Hello,
Please check the WP documentation I linked. As explained:
‘some string’ – If an existing top level page such as ‘tools.php’ or ‘edit.php?post_type=page’, the post type will be placed as a sub menu of that.
You have to use the last part of the admin menu URL without the domain.com/wp-admin/. For example: edit.php?post_type=page.
Hope it helps!
Regards.