Admin Bar Wrap Fix

Description

Fixes the wrap behavior of the WordPress admin bar when it has too many items. Keep it neat; don’t spill/overflow into the content.

Check things out on GitHub at https://github.com/KZeni/Admin-Bar-Wrap-Fix

Screenshots

  • Too many items to show with plugin (it at least shows the left icon & truncates text as needed).
  • Fewer items shown with plugin (shows normally).
  • What WordPress currently does without this plugin (overlapping items hijack hover and makes things inaccessible, and the user experience is generally broken).

FAQ

Shouldn’t this be fixed within WordPress itself?

I would think so. This has been submitted as a patch at core ticket #44438 & core GitHub pull request #1082, but I figured it would still be beneficial as a plugin to solve things for people in the meantime.

Reviews

اکتوبر 20, 2023 1 reply
I have been searching for ages for a solution then I found Admin Bar Wrap Fix. Thank you! 😀
مارچ 1, 2023 1 reply
Really great, as this fixes many strange overflow issues on narrow viewports. The functionality should be finally merged into WordPress core!
نومبر 27, 2019
So far, I've performed acrobatics to manage the page normally. I have often narrowed my browser down to tablet size. I was looking for a solution on the Internet. I accidentally stumbled upon this plugin. Great. Partial solution to the problem but I can live with that. Regards,
مئی 17, 2019
Love this plugin - it's straightforward, works great, and solves something that's been a long-time frustration of mine. I made two small tweaks for spacing and readability for my own site, in case they're of interest: /* Improve spacing and prevent Site Title from eating WP Logo */ #wpadminbar .quicklinks > ul > li, #wpadminbar .quicklinks .ab-item { max-width: 100px; } /* Media Query - Min-Width: 1061px */ @media only screen and (min-width: 66.3125em) { #wpadminbar .quicklinks > ul > li, #wpadminbar .quicklinks .ab-item { /* Reset the spacing. */ max-width: initial; text-overflow: clip; } } Without the max-width, the site title wound up eating the WP logo on the left side a little bit. Thx so much for the awesome plugin!!
Read all 6 reviews

Contributors & Developers

“Admin Bar Wrap Fix” is open source software. The following people have contributed to this plugin.

Contributors

“Admin Bar Wrap Fix” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Admin Bar Wrap Fix” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.7

Released October 24th, 2023

  • Added links to the plugin details on the main plugin page.
  • Confirmed WordPress 6.4 compliance.= 1.2.6 =

Released July 24th, 2023

  • Confirmed WordPress 6.3 compliance.

1.2.5

Released March 20th, 2023

  • Confirmed WordPress 6.2 compliance.

1.2.4

Released October 31st, 2022

  • Confirmed WordPress 6.1 compliance.

1.2.3

Released May 6th, 2022

  • Confirmed WordPress 6.0 compliance.

1.2.2

Released January 24th, 2022

  • Confirmed WordPress 5.9 compliance.

1.2.1

Released July 12th, 2021

  • Confirmed WordPress 5.8 compliance.

1.2

Released May 31st, 2021

  • Mobile admin bar is now accounted for as plugins have recently been adding their own items to the mobile menu as well & potentially causing items wrap onto a new line outside of the admin bar given the available space. Instead of wrapping to overlap the actual content, it simply offers a horizontal scroll for when there are too many items to show on screen at once (keeping the items all within the admin bar’s one row of icons.)

1.1

Released March 25th, 2021

  • Removed an unnecessary truncation.
  • Made the CSS code smaller & simpler.
  • Updated info to point to the current WordPress Core Trac ticket and GitHub pull request.

1.0.7

Released March 3rd, 2021

  • Confirmed WordPress 5.7 compliance.

1.0.6

Released November 23rd, 2020

  • Confirmed WordPress 5.6 compliance.

1.0.5

Released August 14th, 2020

  • Added GPLv3 license declaration to the plugin details.

1.0.4

Released August 3rd, 2020

  • Made it so the stylesheet is only included when the admin bar is being shown.
  • Updated to confirm WordPress 5.5 compatibility. Minor plugin metadata updates.

1.0.3

Released June 22nd, 2020

  • Updated to confirm WordPress 5.4.2 compatibility. Minor plugin metadata updates.

1.0.2

Released March 6th, 2020

  • Updated to confirm WordPress 5.4 compatibility.

1.0.1

Released January 9th, 2020

  • Added GitHub info to description.

1.0.0

Released January 9th, 2020

  • Implemented further CSS refinements (thanks, @lunacodes).
  • Bumped to 1.0.0 given the positive feedback, growing usage, and lack of anyone reporting any bugs along the way.

0.9.3

Released December 9th, 2018

  • Updated to confirm WordPress 5.0 compatibility.

0.9.2

Released August 15th, 2018

  • Got the plugin listed & working on the WP.org plugin repository.

0.9.1

Released August 13th, 2018

  • Implemented all necessary assets and submitted to WP.org plugin repository.

0.9

Released July 30th, 2018

  • Packaged as a plugin.

0.5

Released July 6th, 2018

  • Updated version of the original Patch for admin-bar.css to make it friendly for admin bars which don’t have too many items shown.

0.1

Released June 22nd, 2018