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).
Yes, you’re right. I made the plugin. Thanks for the filter. 😉
Henrik on June 28th, 2008 at 7:43 AM wrote:
Fixed. Thanks for reporting!
kahi on June 28th, 2008 at 10:33 AM wrote:
Awesome! 🙂
Pingback: Admin Bar und Space Saving Extension « FFs WP-Notizblog
I would love to see a way to disable the logoff option in the settings, as well as a setting to set the default theme.
P.S.
I have made a theme for this fine plugin using it’s API here
How might you go about this (sorry I am still a noob)
Thank you in advance.
trm96 on June 29th, 2008 at 11:03 AM wrote:
Oh, I didn’t even think of that. Thanks. 🙂
trm96 on June 29th, 2008 at 11:03 AM wrote:
Yeah, I’m planning on releasing an update that allows you to set the defaults.
trm96 on June 29th, 2008 at 11:03 AM wrote:
Cool! 🙂
trm96 on June 29th, 2008 at 11:38 AM wrote:
Where do you want the new item?
Roger on June 26th, 2008 at 12:03 PM wrote:
What was the solution you found for this issue? Trying to figure it out myself. Also is there a way to make the bar appear for users on blogs that they dont own? (For WPMU) The bar would take them back to their control panel.
Isotope on July 5th, 2008 at 7:31 PM wrote:
Remove any like
is_admin()
checks or whatever that make the admin menus not always register (i.e. not register outside the admin area for example).Isotope on July 5th, 2008 at 7:31 PM wrote:
No, not currently and it wouldn’t be an easy fix that you could do.
I will look into making the modification myself though, but no guarantees.
Thanks a lot! worked like a charm. Ill keep my fingers crossed and check back for possible updates. The admin bar rocks as is though.
May I suggest one improvement? I’d like the bar to be
{position:fixed;}
instead ofabsolute
. What about adding a switch into settings? This would be very pleasant… mainly when browsing very long pages.Is it passable to add more than 1 theme in a theme plugin?
kahi on July 6th, 2008 at 10:46 AM wrote:
It used to be that way, but it caused problems (such as making the cursor not show up in input boxes).
You can do it yourself via a plugin though. Just hook into
wp_head
late and output the CSS with an!important
.trm96 on July 6th, 2008 at 1:58 PM wrote:
Yes, use the non-theme method (a filter) and pick different stub names for each theme:
http://www.viper007bond.com/wordpress-plugins/wordpress-admin-bar/theme-api/
> You can do it yourself via a plugin though. Just hook into wp_head late and output the CSS with an !important.
I know about this option and maybe I will do it so finally, but for some reason I thought that direct integration into the plugin would make more sense… I can’t say why, maybe I dislike long lists of active plugins…
Yeah, as said, it used to be like that but I changed it for a reason. 🙂
Excellent plugin so far! really appreciated! But also got some issues: cfromsII and nextgen gallery links does not show up in the bar even if they are selected iin the admin menu of adminbar. also some selected options within “manage” dont show up (e.g. redirection of the redirection plugin i use).
any hints or known issues about this?
–rgds marcO
Hi, i have a suggest to optimise the Plugin, look at #348 at wordpress-admin-bar.php
echo '
#adminmenu,#dashmenu,#user_info,#footer, #sidemenu, #submenu ';
if ( !file_exists( ABSPATH . 'wpmu-settings.php' ) ) echo ', #dashmenu';
echo ' { display: none; }
#wphead{border:none;}
' . "\n";
This looks better for me 🙂
Thanks for your fine Plugin!
If you hide #user_info, then the “Turbo” linked added in WordPress 2.6 won’t be there. The #footer is at the bottom, so it’s not a big deal plus it adds a little spacing which is nice IMO.
I’ve come up with a twist on your changes though. I’ll include it in the next version. 🙂
Pingback: My top 5 WordPress plugins | Blog³
Thanks for your answer 🙂
I have found a user is going 1 step further, look here:
http://kahi.cz/wordpress/admin-bar-space-saving-plugin/
a Plugin for your Plugin, great…
Pingback: ‘Perkawinan’ Plugin ‘WP Adminbar’ dan ‘WS Tools Bar’ | Ardee’est Thing in My Life
Pingback: My favourite WP plugins | adlankhalidi.com
Pingback: Dev WP » WordPress Admin Bar
Great plugin!
I have just the same problem like marco – no links for the nextgen-gallery :-/
Any ideas why?
First, can one limit this feature to certain user groups?
Two, I’m also having a problem showing the gallery in the admin bar.
thanks
Marc on July 22nd, 2008 at 8:58 AM wrote:
The plugin most likely only registers it’s admin menus while you are actually in the admin area. Since my plugin operates outside of the admin area, that gallery plugin isn’t registering it’s menus and therefore they aren’t showing up.
Contact the plugin’s author and ask them to remove the
is_admin()
check.Mark Adams on July 23rd, 2008 at 1:22 AM wrote:
Modify the
if ( current_user_can('read') ) ...
in the plugin (near the top). Change it to the minimum permission you want (manage_options
for example for admins only).Thanks, that worked.
This is a great plug in
Awesome plugin man! Makes managing a blog so much easier.
One thing, I’ve got heaps of plugins installed and now the
settings menus scrolls off the page so they can’t be clicked…
It would be nice to have two columns, might be an idea for a future update? At the moment I just turn off the display of plugin settings that don’t need much updating..
Apart from that, massive kudos!
William Ember on August 7th, 2008 at 7:45 AM wrote:
Sorry, won’t be happening. Too difficult and it’s just easier to have people disable menus for things they don’t use.
Pingback: Loft 75» Blogarchiv » Die Tellerrand-Geheimwaffe
hi! it’s possible show admin bar only level 7+ (editor & administrator)?
Sorry my bad english, i’m italian…
I was just wondering, I mean all the plugins settigns can only be mde for the currently logged in user, isn’t there a way to set certain defaults for non-admin users or will they simply only see menues that their user class allows them to see ?
I am just worried they will see links to admin areas where they are not supposed to play around..
nevermind I tested that by logging in as a subscriber, and almost all menus were gone whic his perfect, except I saw 3 plugins menu udner the settigns menu, but when I clicked them I was told I had not sufficient right. which is also good, but how to hide these menus from teh settigns menue if the user has no rights to click them anyway?
is there someway Ican modify these plugins so they do not show up udner the settigns menu?
The plugin works very well, but the idea would be to add a control options in plugin/adminmenu setting to use the plugin only to the levels chosen (subscribe, editor..)…
ovidiu on August 23rd, 2008 at 5:33 AM wrote:
That shouldn’t be happening. The plugins must be incorrectly registering their menus. Can you link me to one or more of the plugins so I can examine their code?
emmeellep on August 23rd, 2008 at 5:42 AM wrote:
That’s planned for a future version. 🙂
you can test it yourself: http://www.die-kellerkinder.eu – log in with user:test pw:test then check out the menus that are showing under the settings tab.
the plugins showing this kind of behaviour are: wp php-speedy,http://aciddrop.com/ | advanced options http://www.mountaingrafix.at/ and your plugin !?
It seems this test user is not even allowed to set up his own settings for the admin bar 🙁
oh, and if you are on that site anyway, can you give me a hint, how to fix the theme? I mean I see your plugin inserts a top: 28px; but that doesn’t help me with the background, which ignores this setting… below the black background (on top of the page) there is a menu which is unreadable now, because the black background should also slide down 28px….
sorry to flood your comments, but I answered your question about which plugins gave me trouble, even linked to their homepage, but my comment disappeared. I guess it got filtered as Ihad 3-4 links inside my comment. Please get it back out of your moderation/spam queue as it also contained user/password combo for a testuser so you could see for yourself….
ovidiu on August 25th, 2008 at 3:24 AM wrote:
That account is a subscriber account, so no Settings show up. 😉
ovidiu on August 25th, 2008 at 3:24 AM wrote:
I’m sure mine shows up for me. Another plugin may be breaking it or maybe it runs off the bottom of your screen.
ovidiu on August 25th, 2008 at 3:28 AM wrote:
http://www.w3schools.com/css/pr_background-position.asp
Viper007Bond on August 25th, 2008 at 1:47 PM wrote:
But they do, thats the point. I know they shouldn’t but I just tested with the test account, and on both FF2.0 and IE6 they show up.
Viper007Bond on August 25th, 2008 at 1:47 PM wrote:
I do not know about this.
thx for the link 🙂
ovidiu on August 25th, 2008 at 11:35 PM wrote:
Gotcha.
I dunno what’s up with the other two plugins. One (or both) of them are improperly coded.
Mine is supposed to show up for all users, even non-admins. This is because the settings page for my plugin is on a per-user basis. This allows subscribers to configure the plugin for themselves — i.e. show it or not, admin area or not, colors, etc.
are you aware of this topic? maybe you can help out?
http://mu.wordpress.org/forums/topic.php?id=3101
Some suggestions here .. for wpmu
– When guest view bar ..
* A login box appear instead of links
* A link to next random blog appear
– it will be great if u code a rate system to rate blogs through this bar
ovidiu on August 26th, 2008 at 1:14 AM wrote:
My plugin doesn’t (currently) “support” WPMU. It works just fine on the user’s own blog, but I haven’t set it up or designed it to show up on other blogs.
please make it compatiable with gengo .multilanguage plugin
So .. Some suggestions here .. for wp
– When guest view bar ..
* A login box appear instead of links
* and ability to add ads in bar
MazZziKa on August 26th, 2008 at 2:29 AM wrote:
My plugin is (hopefully) fully translatable, so I assume it should work fine if you load the language files for this plugin.
MazZziKa on August 26th, 2008 at 2:32 AM wrote:
Sorry, I won’t be adding any of those. That’s not the point of my plugin.
Pingback: WordPress Plugins: Mehr Komfort für den Admin auf datenschmutz.net
Pingback: Férias e Buscas Bizarras | Nódoa do Universo
In WPMU
Plugin could not be activated because it triggered a fatal error.
Fatal error: Cannot redeclare class wpadminbar in wp-content/plugins/wordpress-admin-bar.php on line 31
Btw, this was after I tried to activate it again after my upgrade to MU 2.6.1. I also did a few changes to it before so it could work on MU as it should:
http://mu.wordpress.org/forums/topic.php?id=9331#post-55991