[Resolved] How to add in Access new role that allow editors to edit WP menu?

This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to set the permission for user to edit the WP menus.?

Solution:
Toolset Access has an option under:
Access Control >> Custom Roles >> Change permissions option -- see screenshot.
https://wp-types.com/wp-content/uploads/2017/09/567232-Change_permissions.png?x62720
If you want more control on Appearance / Menus section, you can use this plugin which offers further control: https://wordpress.org/plugins/adminimize/

Otherwise the custom code solution might work to allow specific user role to manage Menus only, these code snippets might be of your interest:
https://www.thewebtaylor.com/articles/wordpress-allow-editors-to-manage-menus
https://wordpress.stackexchange.com/a/10306

Related documentation: Managing WordPress Admin Capabilities with Access

This topic contains 9 replies, has 2 voices, and was last updated by  zbyszekZ 2 months, 1 week ago. The support staff assigned to this topic is Noman.

Viewing 10 posts - 1 through 10 (of 10 total)
Author
Posts
#567201

Tell us what you are trying to do?
I would like to expand Editor role in WordPress. I need to add for Editors possibility to manage WP menu.
Is it possible and how can I do it?

Is there any documentation that you are following?
Not found.

Is there a similar example that we can see?
Not found.

What is the link to your site?
For many sites. It would be nice to create kind of template of this settings and could add it to few of my sites.
(I don't know why managing menu is only for Administrators in WordPress.)

#567232

Noman
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting Toolset support. Toolset Access has an option under:
Access Control >> Custom Roles >> Change permissions option -- see attached screenshot.

If you want more control on Appearance / Menus section, you can use this plugin which offers further control: https://wordpress.org/plugins/adminimize/

Thank you

#567240

Hi Norman,
Thanks for your fast answer πŸ™‚
But is it possible to exclude Widgets, Customize, Background and Header from this?
I need only menu changing.

Regards!
Zbyszek

#567249

Noman
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Asia/Karachi (GMT+05:00)

As I can see Access handles it in a group, so all these will be enabled / disabled at once. You can give it a try and see how it works.

But Adminimize plugin has include/exclude options for each of these (as shown in its screenshot on plugin page), so that would be much good for your case.

Thank you

#567252

It's a pity because I would like that "Editor+" user could change only content of website, not it look.
So I have to find other way to hide this options from him.

Big thanks for help πŸ™‚

#567262

Noman
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Asia/Karachi (GMT+05:00)

I think you can use Access + Adminize in combination to allow or restrict all these capabilities.

Otherwise the custom code solution might work to allow specific user role to manage Menus only, these code snippets might be of your interest:
hidden link
hidden link

If you are happy with everything, feel free to mark ticket as closed. Else let me know. Have a great day πŸ™‚ Thank you

#567301

Thanks a lot Norman!
It works! πŸ™‚

By the way... do you know why Automatic give possibilities to edit menu only for Administrator role?
When Editor could add new pages and post he should have possibility to add it to menu, too.
I don't understand why it don't work like that. πŸ™

#567305

I reopening this ticket to give you possibility to answer me πŸ˜‰

#567538

Noman
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Asia/Karachi (GMT+05:00)

Great to hear that its resolved for you now.

Not sure exactly why WordPress does not offer it out of the box, may be because not many people asked for it yet, may be due to security purpose as anyone can delete all menu items if have access to Menu section, may be because its easier to be added through small code, or may be something else.

You can add such feature requests to WordPress directly on their forums and ask people to vote for it πŸ™‚
https://wordpress.org/support/forum/requests-and-feedback/
hidden link

Thank you

#568568

Thanks a lot once again Norman.

Have a nice day!
Zbyszek Z.

Viewing 10 posts - 1 through 10 (of 10 total)