Note of Plugin Discontinuation:
WordPress 3.1 features a built-in admin bar like this, so I will no longer continue development of this plugin. I recommend uninstalling this plugin as it will no longer be maintained.
This plugin creates an admin bar at the top of your site for logged in users (i.e. you) based on the design of the admin bar located at WordPress.com. It has links to all popular areas of the admin area, saving you time.
It requires no theme editing whatsoever — just upload and activate and you’re done.
Adding Custom Themes:
If you’re the author of a WordPress theme or just otherwise wish to add an custom admin bar theme of your own, please check out this plugin’s theme API.
Frequently Asked Questions
Q: Some plugins don’t show up in the admin bar. What gives?
A: The author of the problematic plugin has a
is_admin() test when creating their admin menu which means that if you’re outside of the admin area, their plugin won’t register it’s admin menu. Therefore it of course won’t show up in my admin bar. Contact them and ask them to remove the
is_admin() test (or do it yourself).
Great plugin, quick question: On most of my installs where it’s in use I get an “Edit This” button (under “Posts” or “Pages”) when viewing a specific post/page. However, this is not occurring on a few of my newer installations. I’m curious as to what triggers this link so I can get it working on those where it’s not? Thanks much!
Your theme is likely breaking it. Is your theme using
query_posts()to create multiple loops by chance?
Yes, I have several instances of query_posts() (both in my post/page templates and a few in widgets). Is there a way to use query_posts() and still have the (awesome) Edit This link?
query_posts()should not be used for anything other than modifying the main loop as it changes global variables which affects things like conditional tags which my plugin uses to determine what type of page it’s on (single post, etc.).
Your theme and widgets should be using
get_posts()to make their additional loops: http://codex.wordpress.org/Template_Tags/get_posts
I am unsure what is going on, but my dashboard is not listed anymore. It is under an arrow at the right side. I have not changed anything except the color to see if maybe there was a glitch.
Thanks for any help!
Hmm, I’m not sure. I haven’t heard of that issue before.
Hi Viper, love the name by the way!
After the last update, I think of 3.0, it seemed to have moved to the right side under an arrow. If you want, you can email me at the email address provided. I can send you a screen shot!
It’s likely some CSS in your theme not playing nice with the admin bar. I don’t have the same issue on either of my sites. Feel free to contact me though with a link.
Excellent plugin! Is it possible to have this plugin make it easy to control what pages are displayed within the admin area after a user logs in? Or do you have a different plugin that does that. Thanks
My plugin doesn’t touch the original admin menu. You’d need a separate plugin.
Would be great if this could be ported to Buddypress so it can be administrated as easily and the wordpress one!!
Good Work! 😀
Please work on this plug-in i tried to install this for wp 3.0 whenever i activated it my plug-in page become blank
I’ve been using this plugin with WordPress 3.0 for many months with no issues. 🙂
Hi. Maybe this has already been answered, but I don’t see it.
I want to know why this bar shows up for everyone – not just me.
How can I turn it off so that I’m the only person who sees it? I remember having done this before on my other site http://coaching.nicolejolie.com – any help here?
It only shows up for users who are logged in and it only shows them the menu items that they have access to.
You can make it only show up for administrators for example by editing the plugin (I know, I need a UI for this) and changing the
current_user_can('manage_options')near the top of the plugin file.
Ok…sort of understand….I want to know if they have the authority to ‘change’ posts or any of that. Would rather them not even have any access to it because it’s already on the blog itself. step by step? I’m new….
On line 55 of my plugin is this:
Replace it with this:
This plugin is on my list of plugins that need a complete recode from scratch so they’re
less crappyeasier to use. 🙂
Fantastic plugin. One issue I found (since wp3 came out I think): the link to the theme editor is wrong. Your link is “…/wp-admin/themes.php?page=theme-editor.php” where it should be “…/wp-admin/theme-editor.php”.
is it possible to integrate this into buddypress? I certainly prefer the style of *your* bar over theirs.
My plugin is not multi-blog aware (or BuddyPress either really). It was only designed to replicate the administration menu on the front end of the blog.
Pingback: Wordpress 3.1 - erste Einblicke | Weblovers - We love the Web
Cool plugin, I ever want to know something like this since the first time I have a self-hosted WordPress blog about two years ago, and just knowing this right now. 😀
Great job Alex.
Pingback: ??? ????????? ??????, ?? ?????? ? ??????? | WordPress Admin Bar | ?????? ???????? ??????? Wordpress | n-wp.ru
Pingback: Aus Wordpress ein eigenes Artikelverzeichnis machen - DoFollow.de
how do you change the position of the bar. it’s not really on top. i need to put it 20px above the homepage. best regards
Sounds like your theme’s CSS is interfering with it. Try editing your theme’s
wp_footer()to right before the closing body tag.
hey alex – this doesn’t help. are you sure to change the footer is the right solution if i want to place there above the header? i was thinking about a simple css command to put it at the top where the browserwindow begins. because my homepage has some space
Perhaps I don’t understand what you’re trying to do.
Regardless, it’s all CSS so you can do whatever you want. 🙂 I wouldn’t edit any of the plugin’s files though. Instead just make your own theme: http://www.viper007bond.com/wordpress-plugins/wordpress-admin-bar/theme-api/
again. i have found maybe a bug?
i’m using http://wordpress.org/extend/plugins/admin-menu-editor/ to organize the left sidebar to sort and rename things individually. admin bar shows the renamed elements in the right position in the backend but not in the frontend. it would be very nice to have this fixed in the next version (also it’s not easy to rename and sort admin bar into another submenu e.g. plugins and run in without leaving it in the place and copy the element in the admin-menu-editor) – thanks
There is nothing to fix. The issue is likely with the other plugin (it’s probably set to only work on the backend which normally would be a good thing). 😉
but if the changes are made in the backend shouldn’t the admin bar in the frontend be able to recognize them?
i found a better solution – i simply edited the css files from the installed admin bar themes, which works well.
i also changed the redirect of the logout button by changing
in my opinion this should be standard or at least an optional checkbox because it keeps the user more at the frontend.
The changes to the backend are made by the other plugin. If the plugin is designed to only make those changes on the backend, then it’s not going to affect the front end. Normally this would make sense as normally you don’t need to deal with the admin stuff on the front end.
in wordpress-admin-bar.php changed to:
I wanted to modify this plugin so that it would instead work as a single navigation bar across my multi-blog network. However, it only shows up for users who are logged in. Is there any way to make it so that everybody sees the plugin always?
Thanks for the great code!
My plugin isn’t multi-site compatible. However my plugin is dead as an admin bar is already in the WordPress development branch being worked on in time for 3.1. It’s based off the one that’s used on WordPress.com which is multi-site compatible. 🙂
Pingback: 10 of the best WordPress plugins | fusi0n
Pingback: WordPress Admin bar
Hi ! Thanks for this great and very usefull plugin !
Is there a way to fix the bar to the screen ? and maybe to put the bar at the bottom of the screen ?
Thanks again and have a good day !
For some reason the admin bar is no longer showing up. I don’t know if its my current version on Chrome (seemed to have updated itself via the developer channel, which is also not letting me make a new post so it may be) but any ideas would be appreciated.
There’s lot of bugs in the latest dev version of Chrome. I wouldn’t be surprised if that was why.
Pingback: Interview with Donncha O Caoimh-Developer of WordPress MU
For some reason my dashboard is not like yours in the top screen shot. It is all the way at the right under an arrow button…any ideas?
Pingback: What’s new in WordPress 3.1? « Starting With WordPress.com
Where is the user sign in, and search bar? Why does WP make it so hard to have a login or registration form. You specifically state this admin bar is like WP.com, but thats a lie
No need to get your panties in a bunch. It’s styled like the WP.com one. If it were identical, it wouldn’t be as useful as that one is designed for WP.com.
Either way, one more similar (but not the same) will be coming built into WordPress 3.1.
Pingback: WordPress MU 2.7 | Bookmarks
Hi, I just started to upgrade my blogs to WP 3.1. Yes, the new WP version comes with its own admin bar, but no, that is no real replacement for your fantastic plugin! Actually, the built-in admin bar is very basic and does not allow ne to access many of the back-office features with one mouseclick as your plugin did. I do understand that you won’t take the challenge of adapting your plugin to somehow “override” the offical WP 3.1 stuff, but I want to thank you for providing a great utility that I was enjoying to use regularily for many, many months. You really did a great job. Thanks again.
Greetings from Germany,
My plugin is dead in it’s current form, but I will likely rewrite it at some point to add more functionality to the 3.1 admin bar instead.
That’s exactly what I was secretly hoping for… 😉
Thanks again, your work is very much appreciated!
Quote: “WordPress 3.1 features a built-in admin bar like this, so I will no longer continue development of this plugin”.
Your plugin is better.
My plugin my have more functionality, but it’s a pile of crap behind the scenes. 😉
Alex, you see that your great and very useful plugin is appreciated all over the world. We all know, however, that with the arrival of WP 3.1, your plugin has (sadly) become osolete in its present form and does not work anymore.
But you showed us a “silver lining at the horizon” by stating that you “will likely rewrite it at some point to add more functionality to the 3.1 admin bar instead”.
This is a great perspective, however one question remains: How do the fans of your discontinued plugin get the message when a sucessor is released somewhen? With the old plugin disabled and deleted, there will be no notification out of the WordPress backend. I’d suggest that you may create a mailing list for people interested in that yet unwritten substitute for your “WordPress admin bar” plugin?
Another possibility would be to post an update message at
where everybody who is interested might have a look at the current status from time to time…
My plugin (should) still work fine. Does it not?
Also you an just deactivate my plugin instead of deleting it and you’ll be notified when a new version is released automatically.
I did not see your plugin’s admin bar in WP 3.1 anymore, but that was before I found out that the new admin bar can be switched off in the user profile. Didn’t try that out yet, though. However, since the new one actually has its merits (like the mini visitor statistics provided by the WP stats plugin), a fresh approach combining the new standard with the configurable item selection provided by your plugin would certainly be the best of both worlds… 😉
I think removing admin bar is better explained @ http://www.nichewp.com/how-to-remove-wordpress-3-1-admin-bar.html
This plugin gives you control over who will see the admin bar based on user role or site wide. Also if you have absolutely positioned to the body it gives you the option to get rid of the annoying 28px bump. If you are a theme developer it also lets you disable it on a single page or across the whole site for a single sesison. This is really helpful if you dont want to have to log out just to get the admin bar to go away for a bit.
Somehow this does not work with the GREYZED theme? Does it?
I would seriously love you forever if you could make this ‘float’ or stay stuck at the top of the screen- or tell me how- or another plugin, I am tired of scrolling up/down to get to the darn menus- lazy I know but it would really save me time… any ideas?
Eve, try the plugin “Auto Hide Admin Bar”. It enables the WordPress 3.1 default admin bar to slide in gently whenever you move the mouse pointer to the top of your blog. This works in any scrolling position of your site, so it is exactly what you are looking for!
The downside is that the default admin bar of the current WordPress release lacks many items that would be helpful (i.e. the plugins menu).
Hope that helps!
Pingback: Check out the “Awesomebar” on the Decaf Theme for Moodle 2 | Moodle News
Hey Viper – I love your plugin (have made a few of my own tweaks to it) but when I upgraded and it was hidden I was heart broken.
Good thing they show how to hide it network wide on wordpress:
One item that I am not sure how to fix is items that are now in the Network Admin menu – they still show up in your menu but the links are broken as they point to wp-admin not wp-admin/network.
I’ve looked through the code and not sure exactly how to fix this. It was very handy for me as I have a support system that I access regularly from your menu that I now can’t because of the broken link.
Any ideas on how to fix would be appreciated.
Sorry, but my plugin has been retired and is no longer supported.