How to hide admin menu items with specific users in WordPress – Not everyone who logs in to the WordPress backend will have to show the whole tool. If someone doesn't understand what they are doing, it will cause all sorts of problems on the website. This is why many developers hide the admin menu item at WordPress.
It will significantly reduce future problems such as removing random content or changing important settings.
Here, will show you how to edit the menu according to user roles in WordPress. The best part, you don't have to use code.
How to remove menu items on the admin side?
Let's say you are working with customers to help them get a WordPress website. If this individual doesn't know what certain settings do, they will actually cause website problems.
In fact, we had customers who almost made his website useless because he thought he knew what he was doing. It's frustrating to have to go back and fix mistakes that should never have happened in the first place.
You always build a control panel for customers to use on WordPress. However, sometimes it is easier to remove certain permissions from the user account.
What if you have a multi-user website? Sometimes, you will need certain people to gain specific rights but not to access some tools in the admin toolbar. The custom user role keeps the website running smoothly.
How to use the user role editor plugin
For this article, we will show you how the user editor plugin works the same way you set WordPress to hide menu items with specific users. This is a feature-rich, easy-to-use tool that helps avoid options from logging into specific accounts.
Install and activate the user role editor plugin.
Switch to the user and then click on the user role editor.
Use the drop down box to select the role you want to edit.
In the group column, choose the permission you want to edit. Sort by core, custom post type, and other site functionality.
To hide the menu item at WordPress, select Core.
In the second column, choose what capabilities users will have by clicking on the checkbox.
From here, you have the ability to remove from the admin menu to protect the page from changes. For example, you click on the option to delete the plugin installation with the topic to prevent others from adding that element.
If you need to see a list of options that are easier to read, click on the Show option at the Human Readable form option. This translates the WordPress encrypted right into a more readable layout.
Once you have selected the ability, click on the online update button.
The confirmation window will pop up. Click on the 'Yes' button if you are sure you want to edit the user role.
Now, users will only have the permissions you have set.
See more: How to install Contact form 7
Create a new role in WordPress
If you want to create a new role with your customers or other individuals, click the add role button on the right.
Fill in the blank of the user and click, add a role. The option to create a copy involves the default permissions on the new role. Then you choose what you want the role the user side has access to with the checkbox above.
Other plugins to hide menu items
Although User Role Editor is a good plugin, it doesn't suit your needs. The best way to keep your website effective is by making sure your tool works for you.
Here are a few other plugins that you want to consider to make WordPress remove the user menu item.
Adminimize
This is a great tool for managing multi-user websites. It changes the backend usage when providing you with the ability to assign specific permissions to the layout side. It supports custom post types as well as custom options.
It even lets you control sub-menu items inside the selected area. For example, users are allowed to add new posts but not change categories or tags.
Custom WP admin interface
This is a great option to hide menu items at WordPress. You not only have access to an administrator menu option, but also the login interface.
If you know how to use CSS, JavaScript, or PHP, you can further customize the interface by adding that element directly to the WP Custom Admin Interface.
Epilogue
Hiding the admin menu item on WordPress helps to keep the website secure from problems. It also prevents unauthorized users from accessing important parts of the website. Whatever your purpose, the above plugin helps.