This plugin is for single site installs, it will change the link and title from the WordPress one to your own site.
This is the link and link title on the login page.
I posted a small plugin over at WPMUDev for users, here it is again:
along with some code snippets on how to handle this:
http://premium.wpmudev.org/forums/topic/remove-wp-about-menu-from-toolbar#post-161711
There are a few options. First the manual edits:
Open the file:
/wp-includes/class-wp-admin-bar.php
And around line 456:
456 | add_action( 'admin_bar_menu', 'wp_admin_bar_wp_menu', 10 ); |
Comment it out or just remove the whole line. Now the WP links part is all gone! ![]()
But….. But……… If you wanted to edit those links to customise yourself, you could just go open up the file:
/wp-includes/admin-bar.php
You’ll see it all near the top, here is a short snippet:
if ( is_user_logged_in() ) { // Add "About WordPress" link $wp_admin_bar->add_menu( array('parent' => 'wp-logo', 'id' => 'about', 'title' => __('About WordPress'), 'href' => admin_url('about.php'), ) ); }
You will note much of the same on there.
The logo is part of a sprite which can be found here:
/wp-includes/images/admin-bar-sprite.png
Both of these options mean updating the code every time you upgrade your WP install.
And now the final option, which is the easiest, but its yet another plugin………
Remove WordPress Admin Bar Links
Enjoy, its free!!
If you are reading this then no doubt you are currently updating an old theme or coding a new design for WordPress and you are wondering where that WP Admin bar has got to…..
Well if you don’t see the WordPress Admin Bar on the front end then it is likely your theme is missing two functions:
<?php wp_head(); ?>
<?php wp_footer(); ?>
The CSS for the admin bar is loaded through the wp_head() function and the navigation is pulled through the wp_footer() function.
wp_footer() should be added just before your HTML closing body tag and is used by plugins usually for such things as add Java.
<?php wp_footer(); ?> </body> </html>
wp_header() should be called just before the closing your HTML head code and is used for things like CSS, Meta data and so on. If you use script in your head and have java there, that may need to be written after the wp_header() function is called.
<?php wp_head(); ?> </head>