Change WordPress user roles and capabilities Forums How to or FAQ How can I allow the user to edit and update a page, but not add a new one?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3957
    Conectt
    Participant

    I’m working with a multisite wordpress and i’ve created a role with user role editor pro. I’m also using a custom post types plugin to create a kind of post that sets some configurations to the subsite.

    I need the user to edit this post, update the data, but do not add new posts of it’s kind.

    How can I do it?

    Thanks

    André

    #3958
    Vladimir
    Keymaster

    Hi André,

    Go to ‘Settings->User Role Editor->Additional Modules’ tab and turn ON this option:
    “Activate “Create” capability for posts/pages/custom post types”.

    User without ‘create_posts’, ‘create_pages’, ‘create_‘ will can not add new items in related CPT after that. Do not forget to add ‘create_%’ capability to the roles, which should be capable to add new items.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.