How to prevent access to WordPress Administration Menu items

Share on facebook
Share on twitter
Share on linkedin
Share on email

Roles and Capabilities

The Roles assigned in WordPress describes the authority a user has, for instance an admin account has all the powers one can have in WordPress likewise different types of account have different capabilities. Here is a list of roles WordPress offers:

  • Super administrator
  • Administrator
  • Editor
  • Author
  • Contributor
  • Subscriber

WordPress provides many capabilities to different roles some of which are as follows:

  • install_plugins
  • update_themes,
  • edit_pages

To see the full list of Capabilities based on Roles, visit this WordPress Codex Page.

Depending on the user’s role, the following access is granted to Contacts Custom Post Type:

Contacts Custom Post Type-wordpress

Editors and Authors

To add, edit and delete all contact the editor role is required by the user as shown by the capabilities on the above table. Creating a new user having editor role is pretty easy but if you do not know how to do it then first click “add new” in the “Users” section from your WordPress dashboard, then fill the required fields of username, email and password fields, set the role as “editor” and finally click the add new user button.

To check the editor role, log out of your current WordPress account and log in from the new editor account you made. You will notice that its admin panel or the WordPress dashboard has fewer options and also includes the contacts custom post type.


You should give your users the author role so that they can only view other users and do not have the capability of editing or deleting. You can do this in the same way as we did for the editor with only choosing the author role instead, in this case.

Verify it yourself by by adding a new contact and click on all contacts, after clicking you will see all contacts created by you and would be able to edit and delete them.

See Also:

There are many good WordPress plugins which enable you to do the same thing along with other extended functionalities for user and Menu Management:

WP Admin Menu Manager

WP Admin Menu Manager
Manage WordPress admin menu was never so easy! You can hide, rename, reorder and change the icon of every WordPress admin menu item, and submenus too! You can have a clean and mistake-free menu for your clients, to other WordPress users and even entire roles.

WordPress Hide Admin Menu Plugin

The WordPress Hide Admin Menu plugin helps you hide admin menu and admin bar items in WordPress admin area based on user role. Simply select the checkboxes corresponding to menu items and user role and Save. You’ll have a simplified menu for your clients, users. That will help you hide some important menu items that you don’t want them to access, like settings page, account detail page, etc.

Legacy – White label WordPress Admin Theme

Legacy - White label WordPress Admin Theme

Legacy Admin is most advanced and elegant White Label WordPress Admin Theme in marketplace. Along with White Label Branding features, It comes with 20 Elegant themes and gives you an option to Create your own custom theme. You can also control full appearance of Admin Menu, Top Bar, Buttons, Content Boxes, Typography, Forms, Text and background colors, logo and so on…

Light WP Admin Theme and White-Labeling Solution

Options are included with the theme in ‘Settings’ under ‘WQAT Theme Options’ such as admin bar to the bottom, text change, logo in admin menu, custom css and javascript plus more.

WordPress Admin Theme – WPShapere

WPShapere WordPress Admin Theme is a WordPress plugin and a powerful tool to customize your WordPress admin. It will totally white label the WordPress admin section. With WPShapere you have the ability to offer your customers a complete new admin dashboard with your brand name.

Ultra WordPress Admin Theme

Ultra WordPress Admin Theme

Ultra Admin brings your WordPress Admin Panel to LIFE. Along with White Label Branding features, It comes with 30 Awesome Inbuilt themes and gives you an option to Create your own theme. You can also control appearance of Admin Menu, Top Bar, Buttons, Content Boxes, Typography, Forms, Text and background colors, logo and so on…


Author Information
Noor Mustafa Raza
Noor Mustafa Raza
I am a WordPress Developer and Designer, author @WPArena. I am providing Free WordPress consultation and can help you to install WordPress in a secure way to small businesses and bloggers.

Leave a Reply

Your email address will not be published. Required fields are marked *


Table of Contents