Admin Bar Wrap Fix

外掛說明

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

螢幕擷圖

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

常見問題集

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.

使用者評論

2019 年 11 月 27 日
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,
2019 年 5 月 17 日
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!!
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Admin Bar Wrap Fix〉的開發相關工作。

參與者

Admin Bar Wrap Fix 外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Admin Bar Wrap Fix 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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