WordPress.org

Ready to get started?Download WordPress

Forums

Capability Manager
Creating and editing a specific post type only (7 posts)

  1. prionkor
    Member
    Posted 3 years ago #

    Hi, is capability manager able to create role that will able to create edit a specific types of post? I have checked but did not find that option. Let me know if my missing anything.

    http://wordpress.org/extend/plugins/capsman/

  2. acafourek
    Member
    Posted 3 years ago #

    I'm researching the same functionality- if I encounter a solution, I'll post it here

  3. prionkor
    Member
    Posted 3 years ago #

    Thanks! i will be looking forward for your reply..

  4. pheonixgh
    Member
    Posted 3 years ago #

    register your post type and define the capability list for it as below.
    These capabilities will then appear in the capability manager interface.
    NOTE THE META CAPABILITIES SHOULD NOT BE ASSIGNED SEE BELOW FOR THE CODE TO HANDLE THOSE.

    [Moderator note: snipped code block, please use the pastebin as per the Forum Guidelines]

    This code will fix the meta capabilities to work with your custom post type.

    [Moderator note: snipped code block, please use the pastebin as per the Forum Guidelines]

    hope that helps! :D

  5. prionkor
    Member
    Posted 3 years ago #

    Hey mod removed the code :( X(

    To mod. You can remove the codes but can't place it into code blog!

  6. pealo86
    Member
    Posted 3 years ago #

    Has a moderator stripped out the code that was pasted above or something? I could do with finding out what it was!

  7. The person who posted the code will need to put it up on PasteBin.

    Per forum policy, when there's a large amount of code, or code that borks the layout of the site, we yank it. It is what it is.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags