1. Amba Junior
    Amba Junior August 29, 2013 at 08:01 | | Reply

    I thought that the Author role has control over all else, while the editor role only has power over his own edits and posts?

    1. CustomRayGuns.com
      CustomRayGuns.com February 1, 2016 at 15:08 | | Reply

      Other way around.

  2. David
    David September 18, 2013 at 01:47 | | Reply

    Hi. Great article.

    Is it possible to create a role where the user can create and edit (theirs and others) pages and posts but NOT publish them live?

    My client wants to allow their staff to edit all of the pages and posts but they cant publish it live. Only an Administrator can do that?

    I couldn’t get this happening with the ‘Members’ plugin by Justin Tadlock. Was wondering if this is possible.

    Cheer

  3. maxsummeria
    maxsummeria October 18, 2013 at 10:35 | | Reply

    Hi. nice article bro.But i have a question. If i want to grab a specific function of plugin (for example i want that Editor can edit contact form 7 plugin), how can i do this?

    Thx and sorry for my bad english 😀

  4. Terpgirl
    Terpgirl April 30, 2014 at 09:33 | | Reply

    Will you be updating Members so it is compatible through WP 3.9?

  5. andy
    andy April 30, 2014 at 10:11 | | Reply

    it suggest many times in the codex not to use admin_init as the hook but to use the theme change as the hook to adapt user capabilities.

  6. gcesena1
    gcesena1 November 8, 2014 at 04:54 | | Reply

    what if i want to set a limit of post a role can publishhow would i do that?

  7. Hasan
    Hasan November 30, 2014 at 16:18 | | Reply

    Thank you for your awesome article. I have a question about controlling views. I want to allow only author and his superior can view his/her published post.

  8. Shivaprakash A Ramaswamy
    Shivaprakash A Ramaswamy January 15, 2015 at 06:35 | | Reply

    Hi,
    Does WordPress support two or more roles for a single user?
    Recently we are trying to create LTI (Learning Tool interoperability) for our plugin and we were asked if our plugin supports multiple roles for a single user.
    Thanks!
    Shiv

  9. zu
    zu January 20, 2015 at 10:01 | | Reply

    @Shivaprakash A Ramaswamy: would love to know this too. Can you post, if you found a way, please. I have the problem that I cant change the author of a post (as admin) since the authors have a custom role and it would be needed for them to have Editor rights as well

    1. timothybjacobs
      timothybjacobs March 11, 2015 at 22:15 | | Reply

      WordPress does technically support the idea of more than one role per user by using WP_User::add_role, however, WordPress doesn’t provide a UI for such things. The user role changer on the WordPress Profile page only allows for a user with one role.

  10. Robert Campbell
    Robert Campbell July 22, 2015 at 14:57 | | Reply

    Thanks for this great article. I am trying to find a function to update a users role via functions.php

    Do you know if it’s possible?

  11. Antony
    Antony July 26, 2015 at 18:30 | | Reply

    Thanks for the article on adminship, author , contributor roles in wordpress it helped me to understand it.

  12. Andreas Keller
    Andreas Keller October 30, 2015 at 07:42 | | Reply

    How to add to the Editor role the custom capability of creating users except administrators?

  13. Emma Watson
    Emma Watson February 5, 2016 at 21:39 | | Reply

    I need to give edit rights to one person on one page only.
    I am really struggling to see how this can be done. Can you show me how can i do this?

  14. Angga
    Angga March 2, 2016 at 04:50 | | Reply

    Hi, I just want to make users can make post but cant edited the content after the post approved. How I supposed to do?
    Thanks

  15. Lionel G
    Lionel G August 22, 2017 at 02:00 | | Reply

    “capability_type gives you global control over the capabilities. The capabilities argument is an array that gives you specific control over individual capabilities.”

    Then, why use the two together?
    We are global or we are specicic …

    One thing I don’t understand about the two argument: do they should be used the two together? for me, if you specify something in ‘capability_type’, why overwrite it in ‘capabilities’ argument?

Leave a Reply

  
Please enter an e-mail address