Skip Navigation

[Resolved] Toolset Presentation: editor user need to create and edit custom post type

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1224222

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!

#1224291

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)