Create new post button not appearing
-
Hey there – great plugin! I’m having some trouble getting the permissions right. Neither the “Edit” nor “Add post” buttons area appearing for subscribers (when I’d like them to!). “Delete” does, somewhat oddly.
I think what’s making it complicated is the fact that these are custom post types. In the CPT declaration I specify:
'map_meta_cap' => true, 'capability_type' => 'cleanup_group', 'capabilities' => array( 'publish_posts' => 'publish_cleanup_groups', 'edit_posts' => 'edit_cleanup_groups', 'edit_others_posts' => 'edit_others_cleanup_groups', 'delete_posts' => 'delete_cleanup_groups', 'delete_others_posts' => 'delete_others_cleanup_groups', 'read_private_posts' => 'read_private_cleanup_groups', 'edit_post' => 'edit_cleanup_group', 'delete_post' => 'delete_cleanup_group', 'read_post' => 'read_cleanup_group', )
I’ve allocated capabilities to the subscriber so that they can add and edit this CPT (which I can verify in the WP backend) and I’ve given the Subscriber role Add/Edit permissions in your own capabilities editor. Is there anywhere obvious I ought to be looking next?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Create new post button not appearing’ is closed to new replies.