Tell us what you are trying to do?
I'm trying to let editor users create and edit custom post type.
Is there any documentation that you are following?
Well, I've found some docs about Access plugin but I got "Toolset Presentation" so I can't download it... I hope there's another way. I don't need some complex access configuration, I just need my editor user to create and edit some custom post type.
Thanks!
Hello,
Yes, you are right, the easiest way is using Toolset Access plugin.
Without Access plugin, by default, WordPress do allow Editor users to publish/edit posts of custom post type.
If you need Editor users to create new custom post type and edit existed custom post type settings, you might need to consider custom codes:
For example:
1) You can use action hook "admin_init" to trigger a PHP function
https://codex.wordpress.org/Plugin_API/Action_Reference/admin_init
2) In this PHP function, add below capabilities to Editor user role
https://codex.wordpress.org/Function_Reference/add_cap
- wpcf_custom_post_type_view (View Post Types)
- wpcf_custom_post_type_edit (Create and edit my Post Types)
- wpcf_custom_post_type_edit_others (Edit others Post Types)