This plugin has been around a while. I started using it shortly after I started my blog, and it’s been a part of every version of my personal blog since. It gives you the most commonly used admin functions (Dashboard, Write Post/Page, Add Link, Manage, Plugins, Presentation, Options, and Logout) in a handy shortcut bar at the top of your blog.
Download: WordPress Admin Bar
Ver. 3.0 – Released April 6, 2008
- Took over maintenance of plugin from Matt Read.
- Updated for WordPress 2.3.x and above.
- Added “Write Page” link.
Upload ‘wpab.php’ to the ‘/wp-content/plugins/’ directory.
Disable plugin in Admin panel. Upload new tag-cloud.php, overwriting the original, and enable in admin panel.
Activate ‘WP Admin Bar’ through the ‘Plugins’ menu in WordPress.
In you theme’s header.php file, find the <body> tag. Immediately after this tag, insert the following:
<?php if(function_exists('wp_admin_bar')) wp_admin_bar(); ?>
I suggest wrapping the function call in function_exists, so that if the plugin isn’t activated, your site won’t die a horrible, burning death…ok, it won’t really, it’ll just display a call to undefined function error, which isn’t exactly a good thing.
You can put the function call wherever you like in your theme, but to me, it makes the most sense to put it at the top.
Notes about styling the admin bar: If you would like to adjust any of the styling, the styles for the admin bar start on line 62 in the wpab.php file. You can also make the bar hold a fixed position, which will make it visible in your browser even while scrolling. Note, however, that this will most likely require editing of your theme to avoid having parts of your header over-written.
If for some reason you run into trouble, please don’t hesitate to email me or post a comment on this page.