Title: Admin Toolbar Menus
Author: Benbodhi
Published: <strong>2013 年 12 月 26 日</strong>
Last modified: 2024 年 6 月 2 日

---

搜索插件

![](https://ps.w.org/admin-toolbar-menus/assets/banner-772x250.jpg?rev=950131)

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

![](https://ps.w.org/admin-toolbar-menus/assets/icon.svg?rev=981026)

# Admin Toolbar Menus

 作者：[Benbodhi](https://profiles.wordpress.org/benbodhi/)

[下载](https://downloads.wordpress.org/plugin/admin-toolbar-menus.1.0.4.zip)

 * [详情](https://cn.wordpress.org/plugins/admin-toolbar-menus/#description)
 * [评价](https://cn.wordpress.org/plugins/admin-toolbar-menus/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/admin-toolbar-menus/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/admin-toolbar-menus/#developers)

 [支持](https://wordpress.org/support/plugin/admin-toolbar-menus/)

## 描述

Add 3 new menu locations to the WordPress toolbar so you can quickly and easily 
create your own custom toolbar menus using the built in WordPress menus page.
 Supports
multi level and works seamlessly with the existing toolbar menus.

#### Locations

 * First menu location is under the ‘Site Name’ menu dropdown on the left side.
 * Second menu location is along the main toolbar.
 * Third menu location is under the ‘Howdy / My Account’ dropdown.
 * Super simple to use, just like building any other menu in WordPress using the
   menus page.
    No settings, just ‘plug and play’.

#### Features

 * Simple toolbar menu customization using WordPress menus
 * Seamless integration with the existing WordPress menus
 * No Settings, just ‘plug and play’

#### Feedback

 * I am open to your suggestions and feedback – Thanks for checking out this plugin!
 * Hit me up via the support forums or [my website](https://benbodhi.com/)
 * Follow [@benbodhi](https://twitter.com/benbodhi) on Twitter

### Translations

 * English – default, always included
 * _Your translation? – [Just send it in](https://cn.wordpress.org/plugins/admin-toolbar-menus/wp@benbodhi.com?output_format=md)_

_Note:_ This plugin is localized/translateable by default. This is very important
for all users worldwide. So please contribute your language to the plugin to make
it even more useful. For translating I recommend the awesome [“Codestyling Localization” plugin](https://wordpress.org/extend/plugins/codestyling-localization/)
and for validating the [“Poedit Editor”](http://www.poedit.net/).

### Additional Info

**Idea Behind / Philosophy:** This is something that I have found super useful when
it comes to customizing WordPress. I have been writing custom menus for quite a 
while and realised there is not much out there like this. No more code snippets,
copy pasting or including files, simply install the plugin and away you go using
the built in WordPress menus. A simple but powerful plugin to give you more customization
powers over the admin toolbar.

### Future Features

 * More power over menu locations with options to pick which locations you want 
   to use and the menu order in relation to existing WordPress menus.
 * Options page to remove other standard toolbar menu items.
   _(you can uncomment
   these in the code now if you’re keen 😉_
 * Ability to change the WordPress “Howdy” welcome message

## 屏幕截图

 * [[
 * 3 new toolbar menu locations added to your existing locations.
 * [[
 * You can see the new locations below when creating your menus.
 * [[
 * Example main toolbar menu with multi level flyout _(you can also see how it was
   created)_
 * [[
 * Example menu under the ‘My Account’ section. Great for membership sites!
 * [[
 * Example menu under the ‘My Site’ menu, viewed from backend.
 * [[
 * Example menu under the ‘My Site’ menu, viewed from frontend.

## 安装

To install this plugin:

#### via FTP

 1. Upload folder `admin-toolbar-menus` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Visit the menus page under ‘Appearance’ > ‘Menus’ to create your new menus

Or

#### via wp-admin

 1. Upload the compressed version `admin-toolbar-menus.zip` through ‘Plugins’ > ‘Add
    New’ > ‘Upload’
 2. Click ‘Activate Plugin’
 3. Visit the menus page under ‘Appearance’ > ‘Menus’ to create your new menus

## 常见问题

### Does this display menus to admin only or everyone?

The menus created will be visible to anyone logged in.

### Can you make it show only to admins?

You could quite easily but you would need to know a little php. You simply need 
to add a conditional statement to the plugin to make sure only the admin user role
can see the menus.

### Do you have to use all 3 menus?

Nope! If you don’t assign a menu to the locations, they simply won’t show up.

## 评价

![](https://secure.gravatar.com/avatar/54ff0e970e647a4797b624b3aad0aa43f73bee6d067f0d49ac1e0fce0d398c3f?
s=60&d=retro&r=g)

### 󠀁[Best Tool for Admin](https://wordpress.org/support/topic/best-tool-for-admin/)󠁿

 [May](https://profiles.wordpress.org/mokoan/) 2023 年 7 月 28 日

This is really helpful. You can make shortcuts to setting page of each plugin, specific
post, external link, anything you want. If you are disgusted with many left menus,
you should install it. solve problems with one click.

![](https://secure.gravatar.com/avatar/be3d03b73fbd6b39120f676a8b80d0cc8605abf24e41c566f55d20513b77d205?
s=60&d=retro&r=g)

### 󠀁[Very h](https://wordpress.org/support/topic/very-h/)󠁿

 [Doeye Hof](https://profiles.wordpress.org/doeye/) 2022 年 9 月 15 日

I say yes use this to click less

![](https://secure.gravatar.com/avatar/47b3e144d6c7dbdbb753657d4a0b9fd14532e33333d176b9c91f40014e8eb92c?
s=60&d=retro&r=g)

### 󠀁[Big Time-Saver](https://wordpress.org/support/topic/big-time-saver-37/)󠁿

 [Achim Kirchmeier](https://profiles.wordpress.org/kirchmeier/) 2021 年 6 月 16 
日 1 回复

What should i say: Thanks a lot! 🙂

![](https://secure.gravatar.com/avatar/7ce894136cacee4e206002e8455a2fc4e4c93583150331ea804633670d62fe48?
s=60&d=retro&r=g)

### 󠀁[Just what I wanted](https://wordpress.org/support/topic/just-what-i-wanted-107/)󠁿

 [norabrown212](https://profiles.wordpress.org/norabrown212/) 2021 年 1 月 26 日
1 回复

I used this to add a dropdown of pages in the admin bar. It is good — simple and
easy to use. It could be improved two ways: * add an option to always show the admin
bar, even in “fullscreen” mode (I found another plugin to do this, for now) * add
an option for a menu to output the admin edit links, rather than the front-end links(
I had to use custom links which isn’t as easy to maintain)

![](https://secure.gravatar.com/avatar/d340f7eae49b92119bcf1247ab8af4cd860164c41ea01f9f4ddaacf27a5e0ad9?
s=60&d=retro&r=g)

### 󠀁[Little thing but makes editing so much strait forward](https://wordpress.org/support/topic/little-thing-but-makes-editing-so-much-strait-forward/)󠁿

 [huuhkaja69](https://profiles.wordpress.org/huuhkaja69/) 2020 年 10 月 1 日 1 回复

I have been looking easy way to edit admin toolbar menus for a long time and finally
found this. Simple and Great plugin!

![](https://secure.gravatar.com/avatar/528141806f94a7951a826921584ad7c31fde0aa14b30cdaa8e0615732bf8056b?
s=60&d=retro&r=g)

### 󠀁[Spot-on Plugin, my first ever review](https://wordpress.org/support/topic/spot-on-plugin-my-first-ever-review/)󠁿

 [macrodesign](https://profiles.wordpress.org/macrodesign/) 2020 年 2 月 18 日 1
回复

Hi, I must congratulate you for identifying this problem and putting this together.
Simple and easy… perhaps you could build on it an make it more intuitive, like a
drop down it is now, with all current admin items dynamically updates as they grow,
so we would not need to go to the dashboard ever again… just a suggestion, but very
helpful, a fresh breath of air

 [ 阅读所有20条评价 ](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/)

## 贡献者及开发者

「Admin Toolbar Menus」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Benbodhi ](https://profiles.wordpress.org/benbodhi/)

「Admin Toolbar Menus」插件已被翻译至 12 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/admin-toolbar-menus/contributors)
为本插件所做的贡献。

[帮助将「Admin Toolbar Menus」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/admin-toolbar-menus)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/admin-toolbar-menus/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/admin-toolbar-menus/)，或通过[RSS](https://plugins.trac.wordpress.org/log/admin-toolbar-menus/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/admin-toolbar-menus/)。

## 更新日志

#### 1.0.4

 * FIX: “Trying to get property of non-object” PHP notice.

#### 1.0.3

 * Bug Fix – Swapped out the if statement around Site Name menu location, so it 
   didn’t disappear.
 * Uncommented the WP Logo menu removal again – just to keep it consistent for users
   until there is the option to turn on and off in the admin.

#### 1.0.2

 * Removed the default WP logo menu removal – settings page coming in next release.
 * Clean up code for compatibility with next release and new features.

#### 1.0.1

 * Cleaned up readme.txt file a bit to look nicer in the repository.
 * Modified a screenshot to display the plugin’s features more prominently.

#### 1.0

 * Initial Release.

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**2 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  语言
 * [English (Australia)](https://en-au.wordpress.org/plugins/admin-toolbar-menus/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/admin-toolbar-menus/) 、
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/admin-toolbar-menus/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/admin-toolbar-menus/) 、 [English (US)](https://wordpress.org/plugins/admin-toolbar-menus/)、
   [Japanese](https://ja.wordpress.org/plugins/admin-toolbar-menus/) 、 [Russian](https://ru.wordpress.org/plugins/admin-toolbar-menus/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/admin-toolbar-menus/) 、 [Spanish (Colombia)](https://es-co.wordpress.org/plugins/admin-toolbar-menus/)、
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/admin-toolbar-menus/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/admin-toolbar-menus/) 、 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/admin-toolbar-menus/)
   和 [Swedish](https://sv.wordpress.org/plugins/admin-toolbar-menus/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/admin-toolbar-menus)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[menu](https://cn.wordpress.org/plugins/tags/menu/)
   [menus](https://cn.wordpress.org/plugins/tags/menus/)[toolbar](https://cn.wordpress.org/plugins/tags/toolbar/)
 *  [高级视图](https://cn.wordpress.org/plugins/admin-toolbar-menus/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  19 条 5 星评价     ](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/admin-toolbar-menus/reviews/)

## 贡献者

 *   [ Benbodhi ](https://profiles.wordpress.org/benbodhi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/admin-toolbar-menus/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2)