Adding permissions to custom post types
-
Hi,
This has to be a common problem, but I can’t find a lot of documentation around it. I’ve created a custom post type, however, when I try logging in as an Author, I’m not able to access the page to even create new posts. I get a message saying, “You do not have sufficient permissions to access this page.”(this is when i go to the page /wp-admin/edit.php?post_type=mycustomposttype)
I’ve read up a bit on how to add permissions for each role, but my understanding is that if I keep the Capability Type as ‘post’, then users will have the same permissions as posts, therefore an Author should be able to access the custom post type. As a sanity check, I went to /wp-admin/edit.php?post_type=post, logged in as an Author, and was able to see the page just fine.
Any help would be greatly appreciated — thank you in advance
- The topic ‘Adding permissions to custom post types’ is closed to new replies.