Restrict Content by Role

What does this plugin do?

If you have a WordPress website with multiple users and several User Roles defined, and you wish to prevent certain User Roles from accessing certain pieces of content (and sub-content) both publicly and within wp-admin, then this plugin is for you.

The plugin provides the following functionality:

  • A meta box to allow you to set user role permissions for content and its sub-content
  • Choose if a restricted role can also view or edit that content in wp-admin
  • An option to allow content, content and sub-content or just sub content to be restricted
  • An option to allow a custom redirect URL (overriding default redirect URL settings)
  • The ability to override parent content restrictions on sub-content (including the ability to make it public)
  • Works with the CMS Tree Page View plugin
  • An options page, with the following options:
    • Choose post types that the meta box should appear on
    • Option to hide restricted pages from menu (only works when using wp_nav_menu())
    • Choose the roles that will appear in the meta box to be restricted
    • Define a login screen error message (if no custom redirect URL is set)
    • Set a custom redirect URL
    • Prevent users from adding child content to restricted content

If you are using this plugin in your project we would love to hear about it.

Download plugin from wordpress.org

Make Do Blog Rewind…

You may have not noticed (we didn’t) but the last post on our Blog was number 100! So to celebrate this very small achievement we’ve dug out some of our favorite posts from the past 100 and will be re-sharing these over social media in the coming weeks!

What’s changed at Make Do since the COVID-19 lockdown?

4 weeks ago the UK was locked down because of the global COVID-19 pandemic. It has been a challenging few weeks for a small agency like ours but we’ve managed to adapt quickly to the change and remain productive in the ‘new normal’.

Read more blog posts

Sign up to our newsletter