Menu editing permissions

Hello, is there a way to restrict non-admin users from editing the menu (Appearance-Menus)?

Thank you

Hey there, @renaissanceman,

Yes, that’s possible, but it’s not a theme function. Menus are a native part of the WordPress dashboard, so you’ll need to edit the WordPress menu items by role, rather than making any changes within the theme. I’m assuming you don’t want to get messy with the core code, so a plugin might be a better way to achieve that. Here’s an article that might helpful:

How to Hide Admin Menu Items for Specific Users in WordPress

Hope this helps!

Hi Matt,
Thank you for the information about the plugin. Unfortunately, it doesn’t seem to offer the capability of toggling menu editing permissions. It’s either that or I just don’t know which permission I need to change.

Hi @renaissanceman,

The Appearance > Menus navigation item is only available for the Administrator user role and the Editor user role does not have access to the Appearance menu altogether.

The matter in question is not related to our theme and is outside of our support scope, but I’d like to get a grasp of the problem first which might help me redirect you to a correct path on your research.

Would you please kindly give us more detailed information on the feature that you want to implement? As from what I understand WordPress does already restrict access to the Menus for non-admin users.

Thank you.

Hi @christopher.amirian,
The problem is keeping non-admin users from f@cking up the menus. I have an issue where Editors are able to add and edit the menus. I’d like to restrict this to just administrators.

Hello @renaissanceman,

Please understand that Roles such as Administrators and Editor are default features of WordPress. This is not part or the theme nor the theme modify these roles. Please check out this table table to know the capability versus the roles of WordPress site.

Changing menus is part of the Edit Theme Option capability which is only for super admin and administrators. Other roles do not have access to this.

Editors should not have access to your menus. If one of your menu has been modified, someone with an administrative privileges must have done it.

Hope this explains Roles and Capabilities clearly.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.