How to Hide Admin Menu Items in WordPress
Every plugin you install adds something to the WordPress admin sidebar. After a few years, the menu is a long list of items your editors never use, and clients log in to a dashboard full of settings they shouldn’t touch. Learning how to hide admin menu items in WordPress, and reorder the ones that remain, gives every user a cleaner, faster dashboard and fewer chances to change the wrong setting.
In this guide, you’ll learn how to hide and reorder menu items with a plugin or code, how to do it per user role and why hiding a menu is not the same as restricting access.
Why Clean Up the Admin Menu?
- Easier for editors and clients: they see only what they need, such as Posts, Pages and Media.
- Fewer mistakes: people can’t wander into plugin settings by accident.
- Faster navigation: the items you use daily sit at the top.
- A more professional handover when you deliver a site to a client.
A Typical Cleanup Plan
| Menu item | Administrators | Editors and clients |
|---|---|---|
| Posts, Pages, Media | Show | Show |
| Comments (if unused) | Hide | Hide |
| Appearance, Plugins | Show | Hide |
| Tools, Settings | Show | Hide |
| Plugin settings pages | Show | Hide |
How to Hide and Reorder Admin Menu Items With a Plugin
Step 1: Install a Menu Plugin
Admin Menu Sorter Hider from Simpli Plugin is a free plugin that lets you hide, rearrange and streamline the WordPress admin sidebar, so your dashboard shows only what matters.
- Download the plugin ZIP from its product page.
- Go to Plugins → Add New Plugin → Upload Plugin.
- Upload the file, click Install Now, then Activate Plugin.
Step 2: Reorder the Menu
Move the items you use most to the top. For a store, that might be Orders, Products and Pages; for a blog, Posts and Media.
Step 3: Hide What You Don’t Need
Hide items such as Comments on sites without comments, or plugin pages you only open once a year.
Step 4: Test With Another Account
Log in with an editor or test account to check what they see. Make sure you haven’t hidden anything they genuinely need.
Building client sites that need a fully branded, simplified dashboard? Simpli Plugin’s team builds custom WordPress admin experiences.
How to Hide Admin Menu Items With Code
WordPress’s remove_menu_page() function hides top-level menu items. This example hides Comments and Tools for everyone except administrators:
add_action( 'admin_menu', function () {
if ( ! current_user_can( 'manage_options' ) ) {
remove_menu_page( 'edit-comments.php' );
remove_menu_page( 'tools.php' );
}
}, 999 );
Each menu item is identified by its admin page file, such as edit-comments.php, tools.php or options-general.php. Plugin pages use their own slug, which you’ll find in the page’s URL after page=. The late priority of 999 ensures plugins have added their menus before you remove them.
Hiding Is Not the Same as Blocking
This is the most important thing to understand. Hiding a menu item removes the link, but anyone who knows the address can still visit the page if their user role allows it. To truly restrict access:
- Use the right user role. Give clients the Editor or Shop Manager role, not Administrator.
- Adjust capabilities with a role editor if a role can do more than it should.
- Treat hiding as tidying. It improves the experience; roles and capabilities provide the security.
Common Problems and How to Fix Them
A Hidden Item Still Appears
The plugin that adds it may register its menu late. Increase the priority of your code, or check the plugin’s own settings for a “hide menu” option.
You Hid Something You Need
Visit the page directly by its URL, or deactivate the menu plugin temporarily to restore the full menu.
Submenu Items Remain
Use remove_submenu_page() for items inside a menu, such as a single settings page.
Related Guides
- How to Duplicate a Page in WordPress (3 Easy Ways)
- How to Change the WordPress Login URL (and Stop Bot Attacks)
- How to Limit Login Attempts in WordPress
Frequently Asked Questions
Can I hide menu items for specific roles only?
Yes. Check the user’s role or capability before removing items, as in the code example above.
Does hiding menu items improve performance?
Not noticeably. The benefit is a clearer dashboard and fewer mistakes.
Will hiding menus affect plugin updates?
No. Plugins keep working and updating; only the sidebar link is removed.
A Dashboard That Makes Sense
A tidy admin menu makes WordPress easier for everyone who logs in. Reorder the items you use most, hide the rest for each role and use proper user roles for real access control.
Download Admin Menu Sorter Hider for free, and browse the full Simpli Plugin library. If you need a custom admin experience, our developers can build it.