show_in_menu = “slug” creating access problems
-
I am trying to create a post type with register post type with show_in_menu => “slug” and when I try to access the page, then it says
“Sorry, you are not allowed to access this page.”
When I set show_in_menu = > true then it work fine.
I am using map_meta_cap => true and create_posts=>”do_not_allow”.
I have tried removing the create_posts=>”do_not_allow”, I get the same access error.
I have checked forums but the only thing comes out is set show_in_menu => true and hide the menu but that doesn’t make any sense of having show_in_menu => “slug”.
And also to note I have created admin menu with the slug and the post type is visible in admin menu but when I go to post_types page (/edit.php?post_type=), I get the access error.
Not understanding what could go wrong.
The page I need help with: [log in to see the link]
- The topic ‘show_in_menu = “slug” creating access problems’ is closed to new replies.