Written by How To

How to tidy up that messy WordPress admin menu.

The WordPress admin menu can get really really messy, right?

Nice clean WordPress admin menu

How do I clean it up? I put a little kitchen sink button in!

Step 1 – Get an awesome free plugin called Admin Menu Editor.

Step 2 – Open that, rearrange your menu a little bit.

Step 3 – Add a new admin menu item with this button:

Screen Shot 2020 09 02 At 10.42.21 Pm

Step 4 – Breath in… now move that newly created button above all of the links you would like to hide… Give it a title… Set the target page dropdown to < none >… and at the end of the CSS classes field, add a space and “kitchensink”, just like I have highlighted below… Now, breath out.

Kitchensink

Step 4 – Add this code to a new snippet with the Snippets plugin.

function mike_hide_my_sink(){ 
// ok sure. lemme do that. ?>
<script>/* mikes kitchen sink */
jQuery(document).ready(function( $ ) { $('#adminmenuwrap').css("height",$('#adminmenuwrap').height());$("li.kitchensink").nextAll().css('display','none').addClass("hidden-stuff");$("li.kitchensink a").click(function() {$('li.hidden-stuff').toggle();});});
</script>
<?php }
add_action( 'admin_footer', 'mike_hide_my_sink' );

Step 5Save and Activate the snippet. 🚀

Now just zen out every day with your awesome new menu. 🙏


While you’re here, I’ve just launched a fancy new WordPress plugin.

It’s called Leadbook 3D, check it out below:

Namaste.