Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Editor Role adding access to Menu and Widgets
Tagged: appearance, menu, widgets
- This topic has 15 replies, 6 voices, and was last updated 4 years, 7 months ago by Vladimir.
-
AuthorPosts
-
16/09/2016 at 12:50 #2748webforuParticipant
I have purchase the URE Pro and can not find a way to add to the existing ‘editor’ role the access rights to see Appearance > MENU and Appearance > WIDGETS.
Can you please explain what steps I would need to take. I am sure I am missing something very obvious.
Regards,
Z16/09/2016 at 13:32 #2749VladimirKeymasterAdd “edit_theme_options” capability to the “editor” role:
1) Open “Users->User Role Editor”, select “Editor” role.
2) Turn ON checkbox for the “edit_theme_options” capability, click “Update”.After that user with “Editor” role will receive access to the full “Appearance” menu, as all its submenu items are protected by the same “edit_theme_options” capability.
If you wish to allow to the ‘editor’ role to work just with “Menu” and “Widgets” items of the “Appearance” menu, you need to block other items with “Admin Menu Access” add-on.16/09/2016 at 19:07 #2754webforuParticipantDear Vladimir. Great instructions. Worked like a charm. Thank you.
22/05/2017 at 22:01 #3776mcwindowsParticipantHi,
I would like to be able to allow access to some widgets, but not the theme options. Is that possible?24/05/2017 at 02:22 #3785VladimirKeymasterHi,
Yes, it’s possible.
1st, grant access to the ‘Appearance’ menu for the role adding ‘edit_theme_options’ capability to it.
2nd, block unneeded menu items of “Appearance” menu using Admin menu access add-on.22/08/2017 at 17:21 #4093dsiwpParticipantHello,
I just purchased the PRO version just to give access to the REDIRECTION plugin to the editor role, I tried everything I could with no results,
how can I give tools-> redirection access to the editor role ?
thnaks
23/08/2017 at 00:42 #4094VladimirKeymasterHi,
Send exact download link for the Redirection plugin.
20/10/2017 at 02:17 #4305EmerisParticipantHey Vladimir,
Did the Redirection Plugin question get resolved? I have the same issue. How to enable the Editor User access to use Redirection under the Tools menu?
Thanks…
20/10/2017 at 02:22 #4307VladimirKeymasterHi,
What redirection plugin to you use. Send download link here if it’s free. Or share its copy with support [at-sign] role-editor.com via DropBox or similar service in order I can test and investigate what permissions it requires.
20/10/2017 at 02:24 #4308EmerisParticipantThanks Vladimir for lightning response! 🙂
I am using the free version:
Thank you soooo much!
20/10/2017 at 02:41 #4309VladimirKeymasterRedirection plugin uses ‘administrator’ role by default to protect its menu and pages.
Fortunately, plugin author makes this via custom filter ‘redirection_role’. So it’s possible to use any custom capability instead of administrator role to provide access to this plugin for user with other role.For example, add new user capability ‘edit_redirections’. Grant it to the ‘Editor’ role. Add custom code below to your active theme functions.php file or install it as a Must Use plugin.
add_filter('redirection_role', 'change_redirection_role', 10, 1); function change_redirection_role($role) { $cap = 'edit_redirections'; return $cap; }
20/10/2017 at 02:44 #4310EmerisParticipantHey cool thanks for quick workaround.
Appreciated!
25/02/2020 at 15:10 #6657friedliParticipantHello Vladimir
I have done like described but the user with the role editor cannot open the widget areas. The user only sees the widget area box but when he clicks on it, it doesn’t open. What could be the problem?
Thanks for your quick support.
Daniel
27/02/2020 at 04:14 #6666VladimirKeymasterHi Daniel,
Look at the browser JavaScript console (F12 for Google Chrome) if it shows any JavaScript errors.
27/02/2020 at 07:06 #6667friedliParticipantHi Vladimir
Yes it does. https://snipboard.io/rT3iR1.jpg
I am also in contact with the theme author. They say the issue could be your plugin because it is changing the core behaviour (widgets should not appear by default for editor role accounts). They have a look into it. Maybe you can have a look into this too?
-
AuthorPosts
- You must be logged in to reply to this topic.