Creating Custom Post Types
-
Greetings,
I am having trouble figuring how to grant privilages only to some role the ability to create and manage posts of a custom type.
I cannot find any documentation on how to set this up, but this is what I have to date.
When using WordPress API to create a custom post type, under “capability_type” I have put in a string of “Schools”
Then when in URE I can see that there are 5/5 privilages under custom post types > schools
Create Schoolss
Edit Schoolss
Edit others Schoolss
Publish Schoolss
Read private Schoolssnote the extra “s”.
When I am logged in as an admin and I attempt to add a “school” I get an error.
“Sorry, you are not allowed to edit this post.”
Even though I have privilege to “create schoolss”
Any help or direction you can provide is greatly appreciated.
Thanks.
The topic ‘Creating Custom Post Types’ is closed to new replies.