How do I remove the Wordpress icon?


Author Message
David E.

Posted: 7/14/2014
Quote message 

I have tried all I can to remove the Wordpress icon/menu from the Wordpress Admin bar but I cannot unless I remove the entire Admin bar.

I have turned off ALL plugins so I have narrowed it down to the theme (along with input from several Wordpress experts).

Any help would be greatly appreciated!

I'm running WP v. 3.9.1
 
David E.

Posted: 7/14/2014
Quote message 

Sorry, using Artisteer v. 4.2.0.60623
 
techtom

Posted: 7/14/2014
Quote message 

what about just hiding it with css

#wp-admin-bar-wp-logo {display:none;}
 
dave

Posted: 7/19/2014
Quote message 

There's also a plugin I have used called White Label that allows you to customize the admin areas and get rid of the WP logo and replace it with one of your own.
 
Dave

Posted: 7/19/2014
Quote message 

TechTom is more advanced than I am, so I'm sure his idea is better and less intrusive, so it's just a question of which CSS page you would copy and paste this wonderful snippet of code. I suppose you could experiment and see (which is one of my favorite ways to learn if you have time).
 
nat

Posted: 7/19/2014
Quote message 

I don't know how/if you can do it with Artisteer, but I can tell you how to do it with functions.

Quote :
function my_admin_bar() {
global $wp_admin_bar;
$wp_admin_bar->remove_node('wp-logo');
$wp_admin_bar->remove_node('about');
$wp_admin_bar->remove_node('wporg');
$wp_admin_bar->remove_node('documentation');
$wp_admin_bar->remove_node('support-forums');
$wp_admin_bar->remove_node('feedback');
}
add_action( 'wp_before_admin_bar_render', 'my_admin_bar' );