I’m looking for the answer to this same issue. I fully support WordPress and have the powered by WordPress and all of that good stuff, but for the website I am designing I don’t want the W to be confused as part of the site’s content. There is a support forum, documentation and feedback links that apply to WordPress and don’t want people to click there thinking it’s part of the site.
Thank you kindly for any replies. 🙂
Place this code in your theme’s function.php file:
add_action( 'admin_bar_menu', 'remove_wp_logo', 999 );
function remove_wp_logo( $wp_admin_bar ) {
$wp_admin_bar->remove_node('wp-logo');
}
@jrking4
That was exactly what I was looking for. Thanks!
One last question, what does the 999 represent?
It just specifies the priority of the action. Basically if you had other items tied to the “admin_bar_menu” action setting it to 999 would cause this function to be triggered last.
The add_action function is something I use all the time. Read more about it here:
http://codex.wordpress.org/Function_Reference/add_action