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.

Description:

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.

Download:

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.

Screenshots:

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 comments to 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. Get Blogged says:

    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 :D

  3. Roll Up says:

    Can I use WordPress Admin Bar with WordPress < v1.5.x ?

  4. Ben Saren says:

    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?

    Thanks!

  5. Viper007Bond says:


    Roll Up:

    Can I use WordPress Admin Bar with WordPress < v1.5.x ?

    No, lol.

  6. Viper007Bond says:

    Ben: see Donald’s links a few comments above yours for non-logged in bar.

    As for the icon, it’s just CSS styling on an unordered list. Edit the CSS. :)

  7. Ben Saren says:

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

  8. Ben: You might also want to consider adding a new ‘theme’ to the system. That way you can copy the default theme into your own new one and make the changes there so they dont’ get overwritten when you update. Admin bar theme api.

  9. [...] to much rave reviews. I’m particularly excited to find that as of WPMU 2.7, it is now included into the WP core! Congrats Viper! The Admin Bar is great because it gives users a single point of access through [...]

  10. Steven says:

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

    Cheers!

  11. [...] have been many comments over at Viper007Bond’s site requesting that he modify his admin bar to work site-wide, whether the user is logged in or [...]

  12. estetik says:

    useful sharing .. Thank publishers say:)))

  13. huzurevi says:

    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.

    Cheers!

    • Viper007Bond says:

      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.

  14. [...] // deutsche Übersetzung // Twitter Widget Pro – Twitter für die Sidebar -> [Wordpress Admin Bar] – Eine Benutzerleiste, wie man sie von wordpress.com kennt -> WordPress Database Backup [...]

  15. kurye says:

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

  16. [...] WordPress Admin Bar Creates an admin bar inspired by the one at WordPress.com. Credits for the look of this plugin go to them. Version 3.1.7 | By Viper007Bond [...]

  17. LINK says:

    Hi, can i make this admin bar vissible to admin only? Thanks

    • Viper007Bond says:

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

  18. LINK says:

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

  19. Junaid says:

    your rock great plugin

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

  21. Greg says:

    Hi,
    I am using the WordPress Admin Bar. The Contact button occurs in it, but the Edit dropdown menu has a broken link:
    http://domain.com/wp-admin/wpcf7

    This leads to an Error 404.

    The link should be:
    http://domain.com/wp-admin/admin.php?page=wpcf7

    Any ideas?

    Thank you.

  22. Bill messick says:

    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!

  23. E?itim Seti says:

    Another Viper007Bond plugin for my site :)

    Please keep up the work, this is well appreciated!

    Thanks!

  24. runner says:

    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?

  25. hi sir
    Thank you for this great plugin! Very good
    very good blog

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

  27. chris says:

    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.

  28. [...] WordPress Admin Bar: Replicates the admin bar seen on WordPress.com . Easily access major areas of the admin. PluginWP [...]

  29. [...] password and register link; A login bar if you will. So I searched the plugin repository and found WordPress Admin Bar. I was a little excited about this, installed it, thought the functionality was great, then logged [...]

  30. Jason says:

    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,
    Jason

  31. çiçekçi says:

    Hello How can I manage, what other users can see on their Admin Bar

  32. [...] WordPress Admin Bar: Replicates the admin bar seen on WordPress.com . Easily access major areas of the admin. PluginWP [...]

  33. Andy says:

    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.

    Thanks

  34. very good job guys, thank you all

  35. [...] Neu:WordPress Admin Bar: Leichtere und schönere Gestaltung des Adminbereichs. [...]

  36. Angga says:

    how i can set the appearance of menus for every user, not just for my account??

  37. Klark says:

    Hi, I am getting an error when I click on the PAGES–>EDIT THIS link. It’s a 500 internal server error. The link looks wrong. It’s linking to:

    https://site.com/blogname/wp-admin/https://site.com/blogname/wp-admin/page.php?action=edit&post=853

    This is running under WPMU as a subdirectory install. As you can see, I’m also running the admin behind SSL.

    The other links work properly.

  38. Klark says:

    FYI, I commented out lines 461-463 and now the link works. So the issue is with those lines.

  39. Pramod says:

    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

  40. TechGyo says:

    Alex, You are the best. A great plugin!!!!!

  41. Chris says:

    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.

  42. Hasmin says:

    Nice ideas for blogs. Thanks a lot.

  43. [...] plugins que, quando ativados, não me deixavam acessar o painel de administração: wp-backupify e WordPress Admin Bar. O Bakupify é um plugin de backup online do site do backupify que eu uso, excelente por sinal. O [...]

  44. letty says:

    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?

  45. [...] WordPress Admin Bar Erleichterung bei der Administration. [...]

  46. [...] WordPress Admin BarDie WordPress Admin Bar erleichtert uns die Arbeit – per Leiste Schnellzugriff auf das ACP. [...]

  47. Paul says:

    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!

  48. Paul says:

    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?

  49. justme says:

    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!

  50. justme says:

    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!

  51. Trent says:

    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

  52. J says:

    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! :D

  53. CommandoS says:

    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

  54. Nicole Jolie says:

    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('read') to current_user_can('manage_options') near the top of the plugin file.

      • Nicole Jolie says:

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

  55. Monty says:

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

  56. stephan says:

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

  57. [...] wird zum Beispiel eine Abwandlung der beliebten WordPress Admin Bar standardmäßig integriert, welche es Benutzern ermöglicht vom Frontend des Blogs direkt auf die [...]

  58. 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. :D

    Great job Alex.

  59. [...] ??????? ???, ??? ????? ???? ????? ? ???????? ? ??????.C?????? WordPress Admin Bar ? ????? ??????????????????? WordPress Admin Bar ? WordPress.org?? ???????? ????????? ??? [...]

  60. [...] Plugin-Name: WordPress Admin Bar  | Download hier [...]

  61. fredellini says:

    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

  62. fredellini says:

    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
    http://www.ferienwohnungrosenthal.de
    regards

  63. fredellini says:

    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

  64. fredellini says:

    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="”>
    to
    <a href="”>
    in my opinion this should be standard or at least an optional checkbox because it keeps the user more at the frontend.
    regards

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

  65. fredellini says:

    <a href="”>
    to
    <a href="”>

  66. fredellini says:

    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>
  67. Jeff says:

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

  68. [...] I found this little gem only today, and I don't know how I was able to live without it before. WordPress Admin Bar will, if configured to do so, add a nice little bar at the top your WordPress content like this [...]

  69. [...] the next month or two) will include an admin menu bar similar to the one seen on WordPress.com and Vipers’ Admin bar plugin. You can read more about the development of the admin bar in WordPress Trac.You can see the admin [...]

  70. Sebastien says:

    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 !

  71. Jessica says:

    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.

  72. [...] Viper’s adminbar which briefly made an appearance in MU but I’ll be merging the changes back into that [...]

  73. justme says:

    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?

  74. [...] front end admin toolbarThis new feature adds a similar toolbar used on WordPress.com and currently available through a 3rd party plugin to the top of your self hosted site. The admin toolbar gives you easy access to posts, pages, and [...]

  75. Tj says:

    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.

  76. [...] many bugs fixed. Besides the merge with WordPress 2.7 there are also a few new features, including Viper007bond’s admin bar which is the most user visible addition.Check the timeline for further info.Upgrading from [...]

  77. zonebattler says:

    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,
    Ralph

  78. zonebattler says:

    That’s exactly what I was secretly hoping for… ;-)

    Thanks again, your work is very much appreciated!

    Yours,
    Ralph

  79. sergejpinka says:

    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.

  80. zonebattler says:

    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

    http://wordpress.org/extend/plugins/wordpress-admin-bar/

    where everybody who is interested might have a look at the current status from time to time…

    Greetings,
    Ralph

  81. zonebattler says:

    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… ;-)

    Yours,
    Ralph

  82. Wes says:

    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.

    http://wordpress.org/extend/plugins/wp-custom-admin-bar/

  83. Hody says:

    Somehow this does not work with the GREYZED theme? Does it?

  84. eve says:

    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?

  85. zonebattler says:

    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!

    Greetings,
    Ralph

  86. [...] to the new WordPress administration blog (for logged in users only) this is a great time saver for jumping around your site while editing [...]

  87. Pat says:

    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:
    http://codex.wordpress.org/Plugin_API/Filter_Reference/show_admin_bar

    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.

    Pat