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 thoughts on “WordPress Admin Bar

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

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

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

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

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

  6. 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! 😀

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

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

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

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

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

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

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

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

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

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

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

  18. 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>
  19. 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. 🙂

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

  21. Pingback: WordPress Admin bar

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

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

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

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

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

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

  28. Pingback: WordPress MU 2.7 | Bookmarks

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

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

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

  32. 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/

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

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

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

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

Comments are closed.