WordPress Admin Bar

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).

532 thoughts on “WordPress Admin Bar

  1. Right – Sorry about name squatting. I agree it might get confusing in the future – I hadn’t thought of that when I selected it though. I will make note of your plugin, as well as the URI where they can find it on WordPress.org, and a brief explanation that someone may want to check out yours as well as mine in my extra info section of the readme.txt. 😉

    I am also going to implement some other features that increase usability – I may release it under another name then.

    BTW – it is now available from the WordPress.org plugins directory.

  2. how can i make this plugin be global on wordpress mu script? any one have any ideeas ? i`ll do it myself but i dont know php :(( it will be better and with register link 😀

  3. Hi Folks,

    Is there a way to add a link to the admin bar for new user registrations? A “sign up” button or something?

    Also, is there a way to get rid of the WordPress icon?


  4. @Viper007Bond thanks a lot. I figured those tips were in here somewhere but that’s a LOT of comments to read through. Thanks for the tips. Great work by the way – really cool stuff, keep it up.

  5. Pingback: Migrated To WordPress MU 2.7 | Bui4Ever | Bui4Ever.com

  6. “Everything here applies to your account only”

    Everything was good until I noticed this. Can’t we have settings available, which allows admin to select defaults for the different user roles?

    So we can get rid of tools and comments and whatever is needed depending on whether the users is a subscriber or author, etc.


  7. Pingback: WordPress Admin Bar Improved | Mactimize

  8. Everything here applies to your account only”

    Everything was good until I noticed this. Can’t we have settings available, which allows admin to select defaults for the different user roles?

    So we can get rid of tools and comments and whatever is needed depending on whether the users is a subscriber or author, etc.


    • Did you actually try it out as another user? The admin bar only shows items that the user can access (it matches the real admin menu exactly). Subscribers don’t see the Comments menu for example. 😉

      And if you scroll up, there should be some code for how to control the defaults using a filter.

  9. Pingback: Plugins | deLtadeep

  10. Everything was good until I noticed this. Can’t we have settings available, which allows admin to select defaults for the different user roles?

  11. Pingback: 30+ Great Wordpress Plugins for Your Blog | WebErika's World

    • It only displays for logged in users and will show those users only the menus they have access to (it’s dynamic). If that’s still not enough, then edit the top of the plugin and change the required capability from “read” to “manage_options”.

  12. Thanks Viper, works, i use simple press forum and set options for logged in user so they can not access dashboard but redirect to forum profile, so with this admin bar no matter what they click they go to forum, thats why i needed admin only :)

  13. Hey Viper, I have an issue that I need resolved. When I use admin bar I can not choose anything on the drop down list but I can choose what is in the main bar. Once it drops down and I scroll to the drop down box it disappears….

    Any Idea or help is appreciated, thanks!

  14. Hey dude love the plugin and use it on all my sites!
    I have one wish, I would love to be able to set the default user leavel that sees the admin bar, like editor or above. That would be really cool!

    Thanks For The Great Plugin It Is A Time Saver!

  15. Pingback: Must-Have Plugins according to John P. | Wordpressure Cooker

  16. How can I manage, what other users can see on their Admin Bar?

    I mean – I’ve installed plugin Messages and I see it on my bar, but other users have to turn it on manually. Is there a possibility to do it? If not – where does it save options? Name of database, table or file?

  17. Hey Viper, I have been looking for weeks in my css and can not narrow it down to what is breaking your plugin… any ideas on where to look that is causing my problem? (when I drop down anything on the bar and move the cursor over the drop it hides the drop down menu) Everything in the bar itself works and I have been using it that way but the drop down portion would be perfect to get working… if you have ANY ideas let me know Viper – Thanks!

  18. ok so im confused…. i installed the plugin an its working as it should on the admin side.. but when i goto view it on the front end, theres a space there where the tool bar should be displayed but… no toolbar. I am not sure what could be the issue here? Any help would be apperciated.

  19. Pingback: 101 Killer WordPress Plugins that Kick Ass - Montana Programmer

  20. Pingback: It all started with a login field… | SPEECHnation

  21. Viper – very nice plugin. Thank you.

    If you’re so inclined, it would be very nice if admin could set the view of items for other users rather than users being able to edit their own options, giving the admin the ability to set it for them is good.

    Even better would be the ability for the admin to set those and then not allow them to customize it.

    Thank you,

  22. Pingback: 101 Killer WordPress Plugins that Kick Ass | MyWebNow.com

  23. I was wondering if you knew what would cause the admin bar to display at the top of my footer instead of at the top of the page. I’m using the plugin on two different sites. On one it works perfect, but on the other it puts the bar in my footer. Any idea what would cause this? Love the plugin by the way.


  24. Pingback: [Update]Meine Wordpress Plugins | Bella`s Wonderworld

  25. I got a small problem with the admin bar:
    I am using the same theme as yours (Mystique). When I activate the admin bar In the admin area, the bar is placed right on top of the page just like in wordpress.com. But when I activate “On the Site” option, the bar is displayed on top of the main content page below the navigation bar and not on the main screen. Can you please tell me how to fix this? Thanks

  26. Hi Alex,

    I noticed there’s a small CSS bug in all the different styles/colour for the admin bar (except for the blue one). Might be my particular theme, but I get square white list bullets next to all the list item in the bar, but only when viewing the bar on the home page/front end of my site (not on th eWP interface). Solved it by setting
    list-style: none !important;
    on the #wpabar ul li definition as well as the #wpabar ul def. in each CSS file (this was done in the blue.css file, but not the others).

    Otherwise, thanks for the great plug-in.

  27. Pingback: 10 WordPress Admin Plugins to Improve Your Admin Area

  28. Pingback: My 15 Favorite WordPress Plugins | BryanSays.com

  29. Pingback: Problemas na atualização 3.0 do Wordpress

  30. I LOVE your Admin bar plugin but I have a problem after upgrading to WordPress 3.0; I cannot find where to modify the settings. I have tried under plugins and under settings in the admin side, but there is no link to wp-admin bar. Where should I go or what should I do?

  31. Pingback: Unter der Motorhaube #5 » F!XMBR

  32. Pingback: Unter der Motorhaube #6 » F!XMBR

  33. 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!

  34. 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?

  35. 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!

  36. 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!

  37. 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

  38. Awesome plugin!!

    Would be great if this could be ported to Buddypress so it can be administrated as easily and the wordpress one!!

    Good Work! 😀

  39. 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

    • 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('read') to 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:

          if ( !current_user_can('read') ) return;

          Replace it with this:

          if ( !current_user_can('manage_options') ) return;

          This plugin is on my list of plugins that need a complete recode from scratch so they’re less crappy easier to use. :)

  40. 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”.

  41. is it possible to integrate this into buddypress? I certainly prefer the style of *your* bar over theirs.

  42. Pingback: Wordpress 3.1 - erste Einblicke | Weblovers - We love the Web

  43. 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.

  44. Pingback: ??? ????????? ??????, ?? ?????? ? ??????? | WordPress Admin Bar | ?????? ???????? ??????? Wordpress | n-wp.ru

  45. Pingback: Aus Wordpress ein eigenes Artikelverzeichnis machen - DoFollow.de

  46. 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

  47. 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

  48. 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

  49. 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
    <a href="”>
    <a href="”>
    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.

  50. last try:

    <li><a href="<?php echo wp_logout_url(); ?>"><?php _e('Log Out'); ?></a></li>

    in wordpress-admin-bar.php changed to:

    <li><a href="<?php echo wp_logout_url(get_bloginfo('url')); ?>"><?php _e('Log Out'); ?></a></li>
  51. 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. :)

  52. Pingback: 10 of the best WordPress plugins | fusi0n

  53. Pingback: WordPress Admin bar

  54. 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 !

  55. 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.

  56. Pingback: Interview with Donncha O Caoimh-Developer of WordPress MU

  57. 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?

  58. Pingback: What’s new in WordPress 3.1? « Starting With WordPress.com

  59. 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.

  60. Pingback: WordPress MU 2.7 | Bookmarks

  61. 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,

  62. 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…


  63. 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… 😉


  64. 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.


  65. 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?

  66. 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!


  67. Pingback: Check out the “Awesomebar” on the Decaf Theme for Moodle 2 | Moodle News

  68. 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.


Comments are closed.