• Resolved squasher

    (@squasher)


    Hi,

    I’ve created a plugin for a custom post type (activities). Now I want the same behaviour for users as standard WordPress has. So for instance, a contributor can only view and copy activities (I’m using Duplicate post plugin), and save them as concept so a editor can edit and publish it.

    What do I need to do to get this done? Is there a standard approach for this?

    FYI: At this moment a contributor can not see the activities in the backend.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter squasher

    (@squasher)

    Wow, is it really as simple as changing this line in my create_post_type function:

    ‘capability_type’ => ‘page’

    to

    ‘capability_type’ => ‘post’

    Amazing if that’s all to it!

Viewing 1 replies (of 1 total)
  • The topic ‘Same behaviour for custom post type as WP’ is closed to new replies.