WordPress.org

Forums

Restrict Content
Why can't we select more then 1 usergroup? (7 posts)

  1. master412160
    Member
    Posted 2 years ago #

    [restrict userlevel="editor;editor"] . . . your restricted content goes here . . . [/restrict]

    Why isn't the above possible?

    http://wordpress.org/extend/plugins/restrict-content/

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Because I haven't built it in to be possible. user groups are tiered anyhow, so if you restrict it to "editor", admins can still view it as well.

  3. master412160
    Member
    Posted 2 years ago #

    what if I want a subscriber and contributor to view the same thing?

    It would be useful to be able to add more then 1 usergroup in the shortcut its usage.

    Would you include this in the future?

  4. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Restrict it to "contributor" to let both of them view it.

    It's not likely that I'll add it.

  5. master412160
    Member
    Posted 2 years ago #

    Ok. What about custom groups made with a plugin like user role editor?

    Would those also work to use in the shortcut?

    And if so I wouldn't know on what it is based that custom group A or custom group B could see the same thing yes or no if one of them is defined in the shortcut.

  6. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Currently custom roles do not work, but they are on my todo list.

  7. stephjuno
    Member
    Posted 2 years ago #

    I'm also trying to use this plugin with some new user groups I've created with User Role Editor. Would love for this to be considered in a future release! Thanks for this great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Restrict Content
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.