该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Admin Bar Menu Packer

描述

Some of themes or plugins add menu items to the toolbar (admin bar). These additional items may be useful, but sometimes you feel annoyed as the toolbar fills up with various items. Admin Bar Menu Packer gathers these items on the toolbar into one hamburger menu. The message “Howdy, username” next to the Avatar is also removed, but most WordPress built-in items remain as they are.

Debug Mode

If WP_DEBUG is enabled, this plugin will run in debug mode.
In debug mode, you can see:

  • [Node ID popup] Each item in the hamburger menu has title attribute contains node ID
  • [Debug menu] Additional item (‘All Nodes’) which contains node IDs of all items on the toolbar

Translations

This plugin is currently available in English and Japanese (日本語).

屏幕截图

  • Sample toolbar and packed menu

安装

  1. Upload the /admin-bar-menu-packer/ directory into your WordPress plugins directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

常见问题

Installation Instructions
  1. Upload the /admin-bar-menu-packer/ directory into your WordPress plugins directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

Which built-in items will be packed?

The following built-in items will be packed:

  • New (Post, Media, Page, User)
  • Customize
  • Edit (Edit Post, Edit Page)
  • View

The following built-in items will NOT be packed:

  • WordPress logo Menu (About WordPress, WordPress.org, etc.)
  • Site-name Menu (Visit site, Dashboard, Themes, Widgets, etc.)
  • Updates
  • Comments
  • User Account Menu

In addition, the items added to the right of toolbar by some plugins, such as Debug Bar, will not be packed.

Can I select which items to be packed?

No, you can not. The current version of this plugin does not have settings screen and there is no way to select items to be packed.

The packed menu items are displayed strangely.

Please let me know the following information:

  • Item name(s)
  • The name and version of theme or plugin that shows the item
How can I enable debug mode?

Please enable WP_DEBUG. To do this, set the value of it to true in your wp-config.php file:

define( 'WP_DEBUG', true );

Please note that it enables debug mode throughout WordPress and PHP errors or warnings will be shown inside of pages.

评价

阅读所有1条评价

贡献者及开发者

“Admin Bar Menu Packer” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Admin Bar Menu Packer」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Admin Bar Menu Packer”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.7.4

0.7.3

  • Minor fix (syntax error under older PHP environment)

0.7.2

0.7.1

0.7.0

  • Initial release candidate