Support » Plugin: User Role Widget Areas » what if I want to add a custom role

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rob Smelik

    (@rob-smelik)

    Hi Sherry,

    By default WordPress only allows Administrators to manage widgets and dynamic sidebars areas within your theme. Although User Role Widget Areas allows you to selectively show widgets based on all default user roles, it doesn’t actually allow you to decide what role can manage widgets. To do this you would want to use a role editor such as WPFront User Role Editor, User Role Editor or one of my personal favorites White Label Branding (a premium plugin which is worth every penny).

    These plugins allow you to modify the permissions each default user role and some even give you the ability to create new roles if needed. Once you install one of these plugins you can choose which roles are allowed to manage and modify widget areas.

    Hope this helps… Cheers!

    Rob

    thanks for this info, I will def check the 2 suggested plugins out 🙂

    Plugin Author Rob Smelik

    (@rob-smelik)

    Hi Sherry,

    Very happy to help! Let me know if you have any more questions about the plugin.

    Best,

    Rob

    Hi Rob,
    I have been unsuccessful in finding a plugin that allows me to define roles with associated widgets.
    For example dept 1 when logged in should only be able to edit dept 1 widget etc.
    Have you set something like this up before?

    Plugin Author Rob Smelik

    (@rob-smelik)

    Hi Sherry,

    Personally I have not run across any method for selectively showing specific sidebar/widget areas within the WordPress back-end based on the user role of a logged in user.

    My plugin is designed to handle the display of user role based sidebars on the front end of a website site ONLY. The actual function of adding widgets to those sidebars is managed in the WordPress Appearance > Widgets menu by Administrators. The link below outlines standard WordPress roles and capabilities.

    https://codex.wordpress.org/Roles_and_Capabilities

    To be honest, I am not entirely sure that WordPress allows for what you are looking for. Plugins like the one’s I listed in my posts above and the one below that I recently discovered, simply open up access to the Appearance > Widgets menu to other user roles besides the default which is Administrators only. For example: They might allow people logged in as Editors to see the Appearance > Widgets menu.

    https://wordpress.org/plugins/members/

    But what these plugins do not do, is allow you to limit which specific sidebars those users can modify. If I am not mistaken it is pretty much an all or nothing approach when it comes to editing those areas within WordPress.

    On a side note: I did see the other message you emailed me directly about and hope my response helped. I will post my response here just in case anyone else is looking for the same solution.

    Cheers!

    Rob

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘what if I want to add a custom role’ is closed to new replies.