Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Customizing the WordPress Admin Area Controlling Admin Navigation in WordPress How to Remove and Add Admin Menu Links via the functions.php File

Hi! How to remove "about.php" from admin menu?

Hi! How to remove "about.php" from admin menu?

2 Answers

Okay. I found this simple hack. I pasted the following php code block into my theme's "functions.php".

function my_admin_styles() {
        wp_register_style('my-admin-styles', get_bloginfo('template_directory').'/admin_styles.css', false, '1.0', 'all');
        wp_enqueue_style('my-admin-styles');
}
add_action('admin_enqueue_scripts', 'my_admin_styles');

and following css code block into my activated theme folder.

#wp-admin-bar-wp-logo{
display:none!important;
}
jason chan
jason chan
31,009 Points

you go to menu settings and play with it. Or you put the about page in the trash.

I am Sorry. You didn't get my question. There are some wordpress links(e.g: about wordpress, wordpress.org, documentation etc) on the top left corner of dashboard. I want to remove these links. How to do that? Thanks for your quick feedback.