• Hello,

    I let my subscribers post on my site. When they post, they actually create a custom post type.

    When they go to the admin page, how can I let them view/edit their posts?
    So far even if I set public=true in “register_post_type” they still can see only their profile.

    I don’t want them as contributors, I just want to let them edit that specific custom post type. Any idea?

    Thanks!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Where you register your custom post type, specify a ‘capability_type’ in the definition array. Simply using the post type name works well.

    Then for the subscriber role, assign a capability “edit_{$capability_type}”, as well as other typical variants like read, delete, etc. as needed. Substitute your post type name or whatever capability_type you used for the “{$capability_type}”.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Type Available to Subscribers Admin Page???’ is closed to new replies.