Created
March 3, 2015 19:13
-
-
Save verticalgrain/9d518cacf09a0beff2bd to your computer and use it in GitHub Desktop.
Add CSS styles to WP admin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add some styles to the admin end | |
function admin_styles() { | |
echo '<style type="text/css"> | |
#menu-comments, #menu-links, #menu-media, #menu-dashboard { display:none; } | |
</style>'; | |
} | |
add_action('admin_head', 'admin_styles'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment