Admin Menu for New Post
-
I would like to show Admin Menu to create New post. If I use below code, I can see
Add New
. $args = [ 'public' => true, 'label' => 'Tutorials', ]; register_post_type( 'tutorial', $args ); https://i.stack.imgur.com/s2T1c.png But if I use below code, I can't seeAdd New
. Even I can't see the menu also. $args = [ 'public' => true, 'label' => 'Tutorials', 'show_in_menu' => 'tutorial_info', ]; register_post_type( 'tutorial', $args ); How can I seeAdd New
with Menu using above code ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Admin Menu for New Post’ is closed to new replies.