Plugin: WordPress Admin Bar Improved
WordPress Admin Bar Improved has come a long way since it was updated to work with the new Admin Bar from WordPress 3.1. It went from making the admin bar visible on the homepage and adding a login form to something much more. Now it allows you to hide the admin bar with a slide animation so you can just hide it while navigating the site, without turning it off completely; it’s also added in AJAX search to the search form, as well as AJAX login. It’s also being used more and more by popular WordPress devs around the world. I just recently noticed the plugin was in use over at DevPress. I’ll count that as a win!
Now in WordPress 3.3, there are a bunch of API changes that require updates to the way this plugin functions. With that in mind, the latest version of this plugin, version 3.3.5, will NOT be backward compatible with WordPress 3.2.1 and earlier. If you need this plugin, and you’re using a version of WordPress prior to 3.3, then you need to use version 3.3.4 of this plugin, which can be downloaded here. And just to make sure your site doesn’t break, I’ve added a check to make sure you are using WordPress 3.3, otherwise the latest version of WPABI won’t even activate.
You can grab the latest copy direct from here – Download WordPress Admin Bar Improved
If you want to help test the new version before it goes live, please email me at don at this domain, and I’ll send you a copy! You’ll need to uninstall your current version, and then upload the version I send you.
The new version is live! You can get it in your WordPress Dashboard now.
Do you have something to say?
latest news
- 05.03.13 Launched: RVontheGo.com...
- 04.24.13 ECHO Official Chainsaw Manufa...
- 04.15.13 Shindaiwa: New Face, New Prod...
- 04.02.13 LAUNCHED! Gazebos.com...
recent work
- 05.03.13 Launched: RVontheGo.com...
- 04.24.13 ECHO Official Chainsaw Manufa...
- 04.15.13 Shindaiwa: New Face, New Prod...
- 04.02.13 LAUNCHED! Gazebos.com...
tips & tricks
- 02.22.13 SEOmoz: Our Secret Weapon...
- 02.20.13 Do the Harlem Shake!...
- 08.14.12 Email marketing in the mobile...
- 10.20.11 Google PageRank Explained...
things we like
- 02.22.13 SEOmoz: Our Secret Weapon...
- 02.20.13 Do the Harlem Shake!...
- 08.17.12 Stripe: Payments for Develope...
- 08.16.11 New from Adobe: BrowserLab...
archive
- May 2013
- April 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010



I’d like to know how I can center this login form as I am using a custom function.php to insert some more links for non-logged in users which I’d like to have on the far left side…
Ovidiu, you can center it by changing up the CSS in the wpabi.css. There are three declarations in that file for style. The bottom one is for #wpadminbar #adminbarlogin. If you swap that css declaration for the following, it will center the item.
#wpadminbar #adminbarlogin {
height: 18px;
left: 50%;
margin: 0 0 0 -175px;
padding: 3px;
position: absolute;
}
perfect. thanks. just what I needed.
now I hope I won’t forget to add the code again if the plugins gets updated :-)
Hi Don,
Great plugin! Is there any way to add twitter and facebook icons/buttons to the wp admin bar improved plugin next to the login form?
Thanks
Terence
Thank you, very much for this fine plugin. I think you have a small bug:
I have put my wp in folder so that the wp-instance has the url:
http://example.com/folder/
This works fine, also with multisite, except that the login button send you to:
http://example.com/wp-login.php
Not:
http://example.com/folder/wp-login.php
Problem solved, in wpabi.php, remove “/” from line 58, the form tag for login.
can I make another feature request?
the login form displayed within the admin bar, shows: username for user and ***** for pw.
can you change it so when you click into the username field the username is deleted and you can start typing your name without first having to delete the username? same goes for the password field.
@Ovidiu – For sure, that will make it into the next version.
@Flemming – Thanks! Will put that fix into the next version.
New version 3.1.2 released today – includes @Ovidiu’s request for clearing out default values on focus.
great. what exactly do you mean by:
3.1.2: Added ability to show or hide the admin bar
Is it an option? where does it show? I am asking because I use this plugin on a multisite install and I don’t want to give users any control over the admin bar…
Sorry about that – should have made it more clear by adding a screenshot – check the post above for the update.
ok, thanks for clarifying. how about a new feature request: I’d like to be able to only allow logged in users to hide the bar, cause the bar offers some random blog browsing features and more for visitors, would that be possible?
Sure would – but I’d have to make an actual admin panel for the plugin then, and that ~could~ get hairy with multisite – but nothing that couldn’t be worked through. However, that being said, I need to build an admin panel to house other settings, like the menu manager and the like.
I guess you could keep it simple concerning multisite: everything that is not meant for end users check with something like: is_siteadmin or similar (I think that function was replaced) and if false, don’t display…
thanks for considering though.
Another update today – I got excited and decided to do some work on it. This update adds Ajax Search to the admin bar search form. Cool!
well, if you need more ideas, how about moving the styling from the hardcoded place in the lugin’s files into your new-to-come options panel for the plugin? ;-)
btw. whats your preferred place for discussions/questions – here or in the wp forums?
Here is fine – but I prefer the WP forums for support/suggestions/questions. Not a problem though.
As for moving the CSS into the admin page – I’d have to code it so it was a file editor and still keep the css in the wpabi.css file. I don’t want to crowd out the head of anyone’s site with all the CSS for this plugin. It would be like the WordPress theme editor.
thx. btw. I am having problems with the comments feed of this post using google reader: http://screencast.com/t/O2piTuqiwk which makes following your comments here quite difficult since there is no comment subscription by email.
Hi – I am trying to remove the search feature, the option in settings doesn’t seem to have effect, and in trying to remove code I am not figuring out which lines to remove without there being a critical error.
Also how can I change the background color of the box itself at the top of screen… For example I wish to have blue.
Thank you!
You are trying to remove the AJAX search feature? or the search form altogether?
And which box would you like to change the background color of?
another note on multisite compatibility: I logged in as a user and they do indeed see the plugin options, just the part for the site admin disappeared :-)
http://s3.amazonaws.com/diigo/2370806_78747061_3823951?AWSAccessKeyId=0R7FMW7AXRVCYMAPTPR2&Expires=1309189754&Signature=QZNx83tPrRTjKIsjYp0mh4FmGPs%3D
Hi, I left a comment the other day. I guess you did not approve it. Can you please tell me how to get the custom menus to work. I have created many custom menus, and used easy hooks for my footer menus. But your directions say to click the theme location box and add the menu. But it is not there.
All I want to be able to do is add custom links for when my members are logged in they will have links at the top to view.
In an ideal world I would be able to add links to the right of the login form on the admin bar that your plugin provides.
Thank you. Please just let me know if the plugin is no longer supported.
Sorry about the late reply – been very busy. The plugin is still being supported. The “Theme Locations” box should be on the Appearance -> Menus page above the “Custom Links” box. If it isn’t showing up, click the “Screen Options” button in the top right, and make sure “Theme Locations” is checked in the dropdown.
Hi Don,
I am having the same problem in MU the theme locations box is showing but all I get is my regular theme locations not the location for Admin Bar Improved. I am using a StudioPress theme if that make any difference. Or is there something else I need to set to have the location appear.. Thanks for any help..
By default, the custom menu feature is disabled, and would therefore need to be enabled for each site. However, I have done no testing with this for multisite, and really have no idea how it will all react.
Hi, Great plugin !
But if user enter wrong password, user redirected to /wp-login.php.
İf text (like *wrong username/password) appear, would it not be more beautiful ?
I will add ajax login in an upcoming version.
This is quite awesome! Do you know if there’s an easy way to remove certain functionality from the bar once a user is logged in? For instance, all my authors currently only have access to ‘posts’ when they are in the dashboard, but the admin bar still gives them the option to jump to other sections. I know this is a more specific question that many wouldn’t have a need to ever implement but if someone has that’d be great!
I am trying to use the login and registration link, but they show up in 2 extra lines outside the bar. Perhaps check for yourself at http://wptest.felizapps.com
Feliz – you can fix the problem if you put “display : inline; ” on line 49 of the wpabi.css file. In the declaration that begins #wpadminbar #adminbarlogin .adminbar-loginmeta *
Thanks, that did it.
Is this a bug or a feature? Will I have to watch out for my changes to be overwritten with the next update?
This would be a bug – but I’m not sure what in your template caused it to happen. I haven’t seen it before – but I will do some more testing / checking. I might just add it to the CSS default – but I’ll let you know for sure.
Version 3.3 fixed the problem.
Thanks.
V3.3.1 When a logged in user navigates away from the site and returns with the remember me option, the admin bar disappears. It leaves an empty box, though.
Hi!
The plugin works with Chrome but not with Firefox 6.0. Can you help me?
Thanks!
Denis – you helped me discover a bug! Your issue should be fixed in the newest version, 3.3.2. Could you please update and check to make sure that it is indeed fixed?
I like everything I’m reading but when installed on my site there is no login option.
However, logout and enabled menu items do appear in the front office after logging in through the backoffice.
I’ve installed Version 3.3.2 with WordPress 3.1.1.
I updated the plugin to work with the upcoming version of WP, and unknowingly broke the plugin in 3.2.1 and earlier. This has been fixed in version 3.3.3.
When logged out I am not seeing any login form or link to register. In fact I can’t see anything except for the search box in the left hand corner. Any ideas?
Fixed in the latest version – 3.3.2 is broke for WP 3.2.1
After updating to v3.3.2 the login form no longer displays on the Admin Bar. All I get now (when logged out) is the Short Link button and the Search.
See other replies – Fixed in the latest version – 3.3.2 is broke for WP 3.2.1
If Ajax login is disabled the text in the “username” and ” password” fields remains in place when I click on it. This often result in a password pasted or typed next to asterisks by users . Earlier versions didn’t have this problem. Can it be fixed?
Sorry ’bout that – I haven’t experienced it myself, but I’ll look into it.
If ajax search, ajax login, and the show/hide toggle are disabled, then the javascript file for the plugin is not loaded. This file also handles the form input fields. Gotta think of a way to better handle this.
Hi Don,
I am trying your plugin on my site and it seems to work very well !!! ;)
I have only a little problem with custom links:
When I go in “Theme Locations” box, i can’t find a “Admin Bar Improved” voice in the dropdown menu….How can I resolve this?
Thanks for any help ;)
Have you enabled the custom menu in the settings? If so, what version of WordPress are you using (so i can debug.).
Hello Nice job so far guys,
Something I would like to see is a way to have the admin bar be hidden upon loading vs just being off? then the user would need to pull the tab to show the bar ? I realize most people want it the other way, but perhaps a toggle to let it show or be hidden , whether logged in or not. Hope that makes sense
Any quick way I can get that to work ?
The way it works currently (to hold the state between pages) is using cookies. There may be a way to set a cookie from the start, although I would assume that there should an easier way than that to hide it be default – maybe with CSS? Let me look into it for you.
Hi Don,
Loving this plug-in by the way…
One (small) problem.. I’m not sure if this is a plug-in issue or theme!
When I’m on the site, the dropdowns don’t show.. It’s as if they’re hidden behind the page. Got any ideas?
Thanks,
Wayne
This would be a theme issue – although it *should* be able to be fixed by just adding a z-index to the admin bar as a whole. I’ll check into it.
thanx … is there any other ajax bar plugin for custom login/register form for wordpress ??
I don’t think so – but why are you asking? Does WPABI not work for you as expected? If not, let me know what isn’t working, because it may be a problem with the plugin that I could fix.
I really like this bar!!! Great job! I would like to translate to Spanish, How do I go by doing that?
Thankx!
Elmaitron
In the lang folder, is a wpabi.pot file that you can use with poEdit or other translation applications. A good resource for translating plugins can be found here – Lost in Code – how to translate a WordPress plugin as well as in the WordPress Codex – Translating WordPress page. Hope that helps.
When you finish your translation, send the .mo and .po files that are generated to don@electriceasel.com, and I will include them in the following release of the plugin.
Hi Don, Love your plugin and am planning to use it for my site. However, it is displaying funny on different screen resolution/sizes.
1. Image:- http://i55.tinypic.com/67408n.jpg
Can the bar be center/made aligned with the main width of the website template?
2. Image 2:- http://i56.tinypic.com/34fmfew.jpg
When viewing a single post …there develops a wide gap between the story/article and the right sidebar. However, when viewed in the small size screen resolution this problem is not there.
Can you please refer me a solution as I love the look of your plugin.
Thanks,
Lily
Sorry,,, I forgot to add the normal screen size look.
Here it is. http://i52.tinypic.com/2rh1vrb.jpg
Eagerly waiting for your reply,
Lily
Lily – these are all theme specific issues. However, I can help you out. On the first one, that would take some modifications to the plugin specifically for your site, but would be easy to do. I could make those modifications and send you a custom version of the plugin if you would like. On the second one, that’s a simple CSS fix. On line 83 of the style.css for your theme, add a width:960px to the #wrapper declaration. That will fix the problem you are having.
Hi Don, I tried the second one and it works perfectly fine. Like every mother I was so worried thinking my ‘baby’ might not get a ‘cure’ for the issue :) Thanks a ton.
As for the first one, I would very much love to try out.
Thanks again.
Lily
Hi Don,
I am an amateur wordpress user. I am designing a site for my personal use. I am using your wordpress plugin. Can you please help me with two things
1) I dont want the search thing in the admin bar. Can you kindly tell me how to remove that.
2) when a user is logged in. It shows avatar and user name and when he clicks username it shows edit profile and log out. Can this Edit Profile and log out be shown in admin bar itself and also I want it to be right Aligned( meaning the log out should be shown in the top right corner of the website.
Can you kindly tell me what code should I modify.
Regards
Rearranging the default items isn’t really possible in this plugin. Although maybe that could be something in the future that becomes available.
To answer your question about the user menu being in the top right, instead of the left – that’s being fixed in WordPress itself in version 3.3. If you want it now though – you could update to the beta version.
Like several other people here, I can not get the “Admin Bar Improved” location to show up on my theme locations. All I have is “Primary Menu”. I use the Thematic framework. Nobody here who has mentioned this has claimed that their problem was solved. This is a pretty big issue. Can I please have some help?
I made a comment some time ago that apparently wasn’t approved. I’m using WordPress 3.2.1. After activating the Custom Menu Items, there is no option under Theme Locations for Admin Bar Improved. It seems as if I’m not the only one with this problem. It’s frustrating enough, but what’s more frustrating is going to this support page (this page) and having my (not rude) comment about it unapproved and/or deleted, without even an e-mail response. It’s fine by me to not approve my comment; if you do not wish to approve my comment here, please e-mail me a response. Just saying “well, I can’t help you” is fine; it will at least allow me to move on and try to come up with a solution myself. There’s few things more frustrating than looking for basic functioning support when there’s nothing to tell you whether people are listening to you or not. I’m not accusing anyone of doing such– just saying that without feedback, I don’t know what I should be doing or not doing to fix the problem.
This is a very busy company – with a whole lot of clients, and I am not able to check in to comments on the blog as often as I would like. I’m sorry that your comment was not approved straight away – we have very strict commenting rules – namely – every comment must be manually approved.
To answer your question, I have seen that many people are having this issue. The main problem is because they are either using a theme that doesn’t natively support menus, or another menu related issue. However, this has been addressed and will be fixed in the next update – due out over thanksgiving weekend.
Hey! Amazingly useful plugin. Hopefully, I’ll throw a few bucks your way once my site goes live. I’m using the plugin MOSTLY to make styling the admin bar less hacky, and for that it is incredibly useful!!
Feature Suggestions:
* Select which user-roles can see the admin bar by checkbox // hide for all others
* Toggle hide automatically upon login
* Search Disabler
Also, for the people worried about losing CSS info on the updates: put your custom CSS into your in-theme stylesheets, and just delete the CSS styles provided with the update.
Those are good suggestions. I need to rework the way the admin bar is either shown or not shown. I think the checkbox idea would work well.
Hi Don, I’ve been trying to add menu in the admin bar but it shows up in the navigation bar instead. I tried this following your guide on how to add any menu on the Improved Admin Bar.
In fact, what i was trying to do was change/redirect the default Registration link http://www.mothersforum.org/wp-login.php?action=register to
http://www.mothersforum.org/wp-login.php?action=register&view=forum&accept=true
As you can see I want my visitors to register from the Forum Registration and not the default WP registration link
Here’s how it looks http://i40.tinypic.com/ht8jro.jpg
Can you help me out with this again?
Thanks
Lily
Please help! Errors found while checking this document as XHTML 1.0 Transitional!
2 Errors
1
…ecked=”checked” tabindex=”3″ value=”forever” id=”rememberme” name=”rememberme”>
2
<input type="checkbox" checked="checked" tabindex="3" value="forever" id=…
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.eyildirmaz.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.2
online wait! Please help!
Those aren’t very helpful without seeing the full HTML generated by the page. Are you still experiencing the problem?
Hi
Love your plugin. I’m glad someone is making a admin area for the WP menu bar.
I had a slight issue with one of the functions. I disabled the admin bar for logged-out users in the settings page, but this disabled the admin bar for ALL users whether logged in or not.
I looked in the wpabi.php file and changed the code on line 61 from:
if($this->options['show_bar'])
{
add_filter( ‘show_admin_bar’, ‘__return_true’ );
}
to:
if (is_user_logged_in() && $this->options['show_bar'])
{
add_filter( ‘show_admin_bar’, ‘__return_true’ );
}
And now it works. (loads for logged in users, but not for logged-out users)
Was this an error or have I misinterpreted something?
Cheers.
Bali
That would solve your issue, but I still need to fix the plugin itself. It should be an option of “Show to Everyone All the Time”, “Show to Just Logged In Users Everywhere”, or “Show just in Admin” – I have to think about it.
I would like to help get this plugin multi-site ready. Where can I help?
I’m not totally sure just yet – I need to figure out what needs to be done to accomplish that. What I’m envisioning is the ability for a multi-site admin to set network-wide settings, with the option to allow users to change/overide the settings themselves. Maybe you could look into that?
Hi Don, I’ve got same problem about option in Theme Locations, there is no Admin Bar Improved option. Just info, I’m using WP 3.2.1 and WPABI 3.3.3 with theme that not support menus natively, does this matter? Also I’ve try with Twenty Eleven theme and the option still not appear.
Thanks,
Nicko
I am working on an update for the plugin – I noticed that if a theme did not support menu’s out of the box, then the proper theme support wasn’t added. It will be released after thanksgiving. Sorry about that folks.
Alright – I was able to get to it faster than expected. Please update to version 3.3.4, and those of you experiencing the problem of not being able to see the Theme Locations panel on the Appearance->Menus admin page should have their problem resolved.
Thanks Don.. I have updated to 3.3.4, now it’s working like a charm..
Hi Don. Testing your plugin locally and spotted two possible bugs:
1. When Ajax Login is Enabled, regardless of whether login form is present in admin bar, “closs” is added under the search form. It disappears if you click on it. I think this “closs” text is from the Ajax Search results box. Although, it’s misspelled.
2. After logging in using the Admin Bar login form, the BuddyPress Account Menu tab isn’t displayed immediately. It’ll only display after a refresh.
Keep up the good work!
Thanks for this and I gotta say – we at Electric Easel LOVE DevPress and can’t wait to see where it goes in the future.
I’m working on an update for 3.3 compatibility, and will fix those things that you mentioned. I’ll post back here with an update when it’s ready.
Hi there,
first of all great plugin thanks!!
I got an issue.
I am using WP 3.2.1 multisite enabled.
After I activate the plugin, I dont see any WPABI menu under the settings tab. In the readme.txt says there is one. Where is it?
@gixty – This should be fixed in the next version. Are you planning on upgrading your MultiSite to 3.3?
Hi Don,
I hope you’re doing well. Seems that wpadminbar 3.3.4 is not working on WP3.3. Do you have any plans on new version with WP3.3 support? Thank you for wonderful plugin.
I am getting ready to release the update for 3.3. There were some API changes to the WP_Admin_Bar class, and I had to contend with those. As such, the next version is ONLY going to support v 3.3, and all previous versions of WordPress need to stick with this plugin at version 3.3.4.
Plugin dont work with WordPress 3.3. Many functions dont work.
Dave, if you read the post above, you can see that we are aware that it doesn’t fully function with 3.3. You will also see that we are offering to anyone who would like to the opportunity to test the 3.3.5 pre-release version of this plugin, that is compatible with WP 3.3. Would you like me to send you a copy of that?
You do not have permission to access this page.
This is the message when I try to use the link http://www.tetavoip.it/wp-admin/options-general.php?page=wpabi the setting of the plugin, vers.3.3.5.
the problem was born when I switched to version 3.3 wp multisite no problem imagining that because the standard version of WP 3.3 everything went perfectly.
can you give me the information I have no way to solve most access to the configuration of the plugin after activating the multisite.
thanks in advance for your response.
Not sure why that’s happening. All I can say though, is that I still have yet to test this with MultiSite, as stated in the readme. I’ll look into it and hopefully get it fixed by next version.
Hi -
Enabling the plugin screws up my RTL (hebrew) dashboard. It makes everything be backwards.
Thanks
I saw your post on the WordPress forums – hope to get this fixed in the next version.
Hey there.
Great plugin, and awesome followup on the comments!
I noticed however in your 3.3.5 version that a link is broken. Might just be my site (due to the fact that i have WP installed in a folder and not on root), but in the overview of all the plugins the link to “settings” does not include my folder name, and therefore is broken.
Another thing i noticed is that it does not follow my language setup either. It is called “settings” , and my WP-language files default should be “instillinger” (nb_NO)
My last thought: If you could implement a feature so it could be hidden upon first load for fresh users, that would be awsome!
Thanks for the praise. :) I like to try to keep people happy.
I’ll have your issues fixed in the next version.
Hi, I just moved to wordpress 3.3 and I noticed that the plugin does not work.
Can I test the new version?
Thanks a lot, great plugin, I have not seen another like this!
I need it !!!! xD
Which version of the plugin are you using? 3.3.5 works with WordPress 3.3
Hi, me again!
I notice the new version is in wordpress, but still not working. This has happened to others?
I’m using Swift theme, does this have something to do?
Thanks for your help.
oh no! sorry, sorry, sorry :S
The problem was solved, I guess my server was very slow… I really do not know what happened :S
But, It’s all right, thank you very much for the plugin … love it!
Great! Glad you were able to work it out.
Hey there. Thanks for an awesome plugin!
I have a few suggestions about features to add, and the looks of the login form.
1. The possibility to decide weather the bar should start out hidden or not
Layout:
I think if you would match the “remember me”, “lost your password” etc. of the login form to the buttons of the navigation (13px size, borders on each side etc so it looks like a normal item on the bar) it would improve the looks :)
Do you have this hosted on a sourceforge or googlecode or anything like that? I would love to make a fork of it, or add to the original project if you don’t have the time.
I have it on github, but am still working out taking pull requests and all that. If you make some changes that you think are beneficial to the development of the plugin, I’ll take them and integrate into the next version after review. Just email the updated code to don at electriceasel.com. Thanks!
Great plugin. One small thing I’m trying to accomplish though is to hide the custom menu for visitors (logged out), but I’m unable to achieve this result. Not the whole admin bar… just the custom menu. How can I alter the code to make this work?
Thanks!
Great idea! I’ll add that as an option in the next version.
For you immediate needs, you can accomplish this by editing line 83 of wpabi.php. Where it says:
change it so it says:
That should do the trick.
I don’t know if your plugin does this, but it would be nice if I could integrate the website nav menu into it. Or at lease the pages.
Currently, you would have to just add all your pages to a new custom menu, and then assign that menu to the Admin Bar Improved location.
Hello
I have installed the plugin and I can see it activated in plugin list but I just can not find it where i can set it up I looked everywhere in settings and is not there. I am using buddypress Could it be reason I do not see settings. I can see the admin bar and has hide and show tabs
Govindji Patel
I have not tested the integration with buddypress, so it’s possible that that is why it is not working. I’ll look into this.
Installed, activated, I see the plugin should do what I want. However, I see in your to do list it says to make it work with multisite. So, I guess it doesn’t work with multisite. How unfortunate.
I can’t use it anyway because I use multisite. I thought there was something wrong because clicking on settings under the plugin, I get an error saying “You do not have sufficient permissions to access this page.” I will have to find something else or wait until you make it work with multisite.. I was so looking forward to using this plugin.
You’re right, it doesn’t currently work (as far as I know) with multisite. I have not tested it at all in that regard, and can’t say one way or another. If you would be willing to test it out for me, that’d be great. What version of multisite are you using?
after upgrading to the latest WP version and the latest version of your plugin the bar is kinda lost to me. It seems its being pushed to the left? would you mind having a look what happened here? se link in my comment here please.
I see that the menu items are not showing up in your toolbar. I looked at the html behind it, and there are no items there. I wonder if you just need to reassign the menu to the admin bar location.
now I am totally confused, how would I reassign anything? I used to just network-activate this plugin for the whole multisite installation. just realized it is working just fine for all sites except for the main site, that is the one I linked to above.
If you were using a custom menu, I was thinking maybe reassigning that to the theme location would help. But as you know, this plugin hasn’t really been tested with multisite and isn’t guaranteed to work with it. I’m going to set up a dev environment to do this, but I need to find the time.
Hey,
Thanks for this plugin. I know providing the endless support on here can be draining.
Wanted to ask: could there be a way to add a custom message in the admin bar? Either in the adminbar settings, or through a functions.php bit? I need to add a “Not a member? Why not join here…”
Bless,
Chris
You could potentially add it as a custom menu item, but then it would always show up, so maybe not. I’ll look at this for you.
I would like to add black vertical line after login button, remember me, lost my password and Register. I am talking about a line like the one you added after the WordPress Logo. Could you help me do this, please?
Also, I suggest including a section in the setting of your plugin enabling the user to choose order of the sections in the admin bar.
What about RTL direction lanaguges? Is it supported? I tryed it but it messed up my admin page and turn the admin bar LTR direction, Could you help,
RTL language support is not integrated yet. I’ll have to look into that. For your other questions, it would be accomplished with CSS. If you are looking to make those things more like buttons though, those would have to be custom menu items.
I am re-thinking how to accomplish this plugin better. Many more people than I ever thought have downloaded and started using it, so I need to up my support and feature set to meet the needs.
Let me start by saying… VERY nicely done! This plugin does nearly everything you can think of, and is well written.
Three of the ONLY things I did not see it could do were:
(1) The ability to change the ‘Howdy’ message (maybe just a field to allow input of a replacement?)
(2) The ability to remove the links under the WordPress logo, WITHOUT removing the logo (I do see that option already exists)
Maybe:
// Remove WordPress links
add_action( ‘admin_bar_menu’, ‘wps_removewp_admin_bar’, 100 );
function wps_removewp_admin_bar( $wp_admin_bar ) {
$wp_admin_bar->remove_menu( ‘about’ );
$wp_admin_bar->remove_menu( ‘wporg’ );
$wp_admin_bar->remove_menu( ‘documentation’ );
$wp_admin_bar->remove_menu( ‘support-forums’ );
$wp_admin_bar->remove_menu( ‘feedback’ );
$wp_admin_bar->remove_menu( ‘view-site’ );
}
(3) The ability to quickly easily substitute an alternative logo to replace the WP logo
Again, very well done and thanks!!
Thanks for the kind words. I’ve put a lot of work into this plugin, and it’s nice to know others appreciate it.
Also, thanks for the great suggestions! It never occred to me to allow people to change the ‘Howdy’ message – that’s pretty easy to integrate. I’ll get it in the next release. For the second item, I have an idea on how to manage all links within in the menu, but that will take some time to code out and should meet your needs. Your last suggestion should be easy to implement as well.
Hello.
very nice plugin. Exactly what I was search for. Thanks!
Is there a way to “initialize” the adminbar for logged out users to be hidden?
Then the user could click on the show link and then log in.
Yes. You can accomplish this by editing the javascript file.
Where it says:
if($.cookie('wpabi_show') == 0) { $('#wpadminbar').css('top', '-28px'); $('body').css('margin-top', '-28px'); $('#wpabi_min').text('Show'); }Change it so it says this instead. (Just adding the OR to the if statement)
if($.cookie('wpabi_show') == 0 || $('body.logged-in').length == 0) { $('#wpadminbar').css('top', '-28px'); $('body').css('margin-top', '-28px'); $('#wpabi_min').text('Show'); }Hello,
I work for a non-profit and trying to use your plugin on this new website I am building. after activation nothing appears on the frontend, the backend did had some changes. The theme I using had a top bar initially that I disabled.
Would be grateful if you can advise. I have very little knowledge about coding.
Thank you!
If you disabled the top bar in the theme, then that might be what’s overriding the setting for the plugin.
Don, I’m unable to logout using the admin bar improved. Surely it’s a simple fix, but I don’t have any idea how to go about it. Thanks for any info.
Did you remove the “My Account” menu from the admin bar? If so, there’s your issue. In the latest version of WordPress, the logout link is only in the My Account menu – so if you remove it, you can’t log out. Just go to your settings and re-enable the My Account menu item.
Don, very cool widget. I like it very much, good job.
Is there a way that I can disable the menu item if someone is logged in and keep it enabled if they are logged out? I am sure this is very simple but having difficulty finding it.
Keep up the good work. Thank you so very much. Ryan
Looking to implement that in an upcoming version. Not able to do so yet.
Don,
What I ended up doing is adding a ‘!’ in front of is_user_logged_in() so the code looks like this:
if($this->options['custom_menu'] && ! is_user_logged_in())
{
$this->add_custom_menu();
}
It works like a charm! However, I noticed that until the page is refreshed the menu continues to stay there.
Is there a way that when the user clicks Login button that the whole page would refresh? I think that will solve my issue.
Again, excellent work. Thank you very much. Ryan
You can disable Ajax Login in the admin panel.
Hello , thank you for the great plugin !
After disable WP logo
Add/ Upload custom Logo feature will make this plugin a real great one !
Any chance of this feature addition in future ?
Thanking you !
A lot of people have been requesting it – I’ll be putting it into a future version for sure.
Hey Don,
I’d love to get this plugin working on a multi-site install I am working on.
If I could get you an admin login for the site, would that help you do whatever testing you need to do with muli-site to get the admin pages showing?
Thanks!
It would, although our schedule is packed right now. I have a few pending updates in the works, but nothing to do with multi-site yet. Although, if I had access to log in and test – it would be helpful.
Hey,
I’ve read all the comment and I don’t think has been said but i would love for an option to have the bar hidden on page visit and/or visible for like 3 secs before hiding.
Btw amazing plugin I’ll be donating a some bucks once my paypal completes a transfer
Thanks,
Andrew Pearson
That’s a good idea, I’ll see about implementing that into the next version.
Hi! This is a very nice plugin, just what I was looking for… the ability to quickly show and hide the admin bar without having to go to my profile… AND even better, the ability to add a menu to the admin bar. The fact that the menu is crated using the standard Menu system is GREAT!
I’m not certain, but I think I’m seeing the following. When the using the plugin to hide the admin bar, when it slides up and out of sight, the page regains the space that it was occupying and shifts up… all as expected and desired. But I’m finding that the tiled background image does not also get shifted up, and so the space where the admin bar was now shows the bottom edge of a “previous” tile. IOW, what appeared to be (and is supposed to be) the first iteration of the tiled image remains shifted down by the height of the admin bar, and that space is filled in by the bottom of an earlier iteration that would normally not be there.
I hope that made sense! :)
This isn’t a problem when the bar is disabled — the page hasn’t been changed, and it displays correctly. But it’s a bit distracting, especially as I’m using a gradient-like bg image, and so there’s a very visible narrow band at the top of the page.
Anyway, thank you for this plugin!
Have a great weekend.
Hello DON,
Great plugin !
Your plugin is compatible with buddypress? or buddypress bar ?
and my second question is your plugin is compatible with wordpress multisite ?
Thanks and congratulations !
I don’t think that it is compatible with the BuddyPress bar, and I know there are some issues with Multi-Site. It was specifically coded for single installation WordPress only.
good question !
This plugin is compatible with buddypress ?
Good job , baby !
sorry i have another question, im install this plugin on my site but
i can see the wpabi setting of this plugin on my wordpress admin interface setting just the bouton (hide/show) on dashbord
where is the problem !
please help me !
If you are seeing the hide/show button, that is because your admin bar is hidden. Try clicking the button, and see what happens.
Hi, I’m trying to use this plugin but am stumped. I installed it a few days ago and it was working fine but then it just disappeared off the site. I see it in the back end wordpress but it doesnt appear on the site itself. I saw that other people had issues with the bar appearing, but mine actually did show up for a day or so! The plugin is awesome and super useful, any help you can offer? I’m using custom community as my theme.
Thanks!
You may have changed a setting in the theme that disabled the bar on the front of the site, or changed the setting in you user profile settings.
I got the bar up and working – thanks for responding. Two quick questions – 1. I have custom menus enabled and my theme allows two locations on default – header top and header bottom. I can also use the custom menu as a widget, but I don’t see any place where I can possibly stick that so that it would show up on the admin bar. Am I missing something? What am I doing wrong?
2. any word on removing the “howdy”?
PS – Thanks for the plugin, it’s awesome
For the custom menu in the admin bar, you just have to enable it on the Admin Bar Improved admin screen, and then navigate to Appearance -> Menus. Create the menu that you want to place in the admin bar, and then save it. Now, in the “Theme Locations” box on the left, there should be a location labeled “Admin Bar Improved”. From that dropdown, select the menu that you just created.
hi, i want to know how to make the toolbar toggle default is hide, thank you
hi, i already add || $(‘body.logged-in’).length == 0) but my website still initialize the bar in show mode, i need to initialize it in hidden mode, please help, thank you.
Hi,
This plugin looks like the one I need. However, i just instaled it on my multisite wordpress and networked activate it… …then, i don’t see any WPABI or other plugin entry either in the setting menu or elsewhere. Kind of frustrating ;)
Does someone has the same problem and give me a hand to solve it?
Thanks
Emmanuel
Sorry Emmanuel & Alan, as noted many times, this component is not multisite ready. I haven’t had a lot of time to work on it, but there are some updates coming that will hopefully make things better for you all.
Hello
Is there a fix for multi sites yet? I just get a message saying “You do not have sufficient permissions to access this page.”
Cheers
Alan
Eagerly awaiting news on a Buddypress/WP Multisite compatible version of this plugin.
It’s EXACTLY what we need. Just need it to be made compatible :)
No progress there yet. Sorry. What features would you expect to see in the Multisite Integration?
Hello,
When a member is logged in and clicks on “edit profile” he is redirected to the sign-in landing page instead of the profile page. How can this be fixed?
I haven’t experienced this problem – what version of the plugin and WordPress are you using?
hi! is there any way to show the Custom Menu Items just when a specific role is logged in? thanks!
This would require some additional development to select an available role. I would actually develop this as a “Select Roles to show Menu To” option. Not currently in the works, but it’s a good idea.
Hi Don,
Love the plugin, it’s save me a lot of time in having to code the admin bar from scratch. I just have a couple of questions. Is there any way to force the page to refresh or redirect to another location once a user logs in through the admin bar? I have a welcome message that displays once a user logs in and noticed it doesn’t display unless I manually refresh the page.
Also, if a user enters the wrong info a pop up messages opens stating the error, is there any way that I can have the error to go to my personal “error” page? Maybe this could be a future feature? Thanks again.
Also, what would it take to add a button to allow users to login with facebook or twitter?
You can turn off the AJAX login in the options. The login for will still show, but it won’t AJAX refresh.
Redirecting to a custom page on error is not available right now. If I get enough requests for that, I’ll see what I can do.
Ability to login with Facebook or Twitter would be a massive undertaking requiring time that I don’t have available right now. However, I’m willing to work with someone to implement this if you know anyone.
Hi,
I need to reload the page just after a user has registered. I mean, that when you enter your username and password and click “login” it will reload the page. Is it possible? Thanks!!!
You can disable the AJAX login functionality in the options.
Hello Don Gilbert
I am having same problem as @Alan I installed the plugin in network and activated the plugin on one of the sites in network and the only place I find Settings for plugin is when I click on installed plugins on site and there is settings link by plugin.
I click on the link and I get “You do not have sufficient permissions to access this page.”
I am using WordPress 3.4.1 and WordPress Admin Bar Improved version 3.3.5
When I network activate the plugin then I do not see it on site plugins list and I do not see any settings.
Is there anyplace I am missing to find settings for plugin.
Govindji Patel
This plugin has not been coded to work with Multi-Site. That’s the main feature request right now, and I want to make it work, I just need some details on what users are expecting for this in multisite? Do you want each site to be able to create a custom menu to add? Do you want them to even be able to manage the options? I just don’t know.
Is there a way to hide the toolbar from displaying on mobile website pages? My mobile site is very slimmed down from my full site and the users shouldn’t be able to see it.
Not currently, but that should be an easy thing to integrate. Would an option of “Show Admin Bar on Mobile” work?
Awesome plug in! Thanks for your work
I just have a quick question, fairly new to CSS; however, I grasp the basic concepts. I cannot find the code anywhere that allows me to change the background of the bar itself from that dark grey / blackish color. If you could point me in the direction of which line it is that would be great. Thanks!
Am I right assuming that there is no German version yet? If so, I’d try to translate the po files and send them to you.
That would be awesome.
Hi Don,
Thanks for an awesome plugin, This will save me so much time ;)
I have ( 1 ) question, I did read through the comments and could not find the answer.
Question: How do I make the admin bar height bigger? like for example 40px high?
I have looked around and cannot see how its done, I must be missing something or just afraid to mess up your really nice code,
Please let me know how to do the above when you have time,
Thanks so much again,
Joseph
Looks like you have it set to 40px already. If you are wanting the log in and register text to be in the center of the blue bar, you need to set the line-height css property to 40px as well.
#wpadminbar > ul > li a { line-height: 40px; }
Don,
Any progress with multisite capability? I’m not looking for anything special other than it to work with multisite and have the same ability to use custom menus like the existing plugin with its features.
Look forward to your response. I’m having a heck of time finding something that works, and since you’ve done such a nice job with this so far, just hoping you decided to expand on it a bit.
Thanks in advance.
Give me a rundown of what does work for you with the current plugin, and what it’s missing. I don’t have a multisite install to test it on, and since I’m not that interested in using it on multisite, I don’t feel qualified to set the requirements.
Hi, Just wanted to say that I’ve tried other login options and this one, by far, is the most productive! Thank you. I have two questions:
1) How do I go about changing the login bar’s color? I’m re-stating Angelo’s question above.
2) I’m seeing an issue where the bar doesn’t “remember me” and all info has to be re-entered. What might be causing this issue?
Thanks again, will definitely be sending money your way (this plugin deserves it).
Some basic CSS should have no issue getting the customizations you need. I haven’t looked at this in a while, but I should update it and put some better usage docs together.