跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Admin Toolbar Menus

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

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

Admin Toolbar Menus

作者:Benbodhi
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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
  • Follow @benbodhi on Twitter

Translations

  • English – default, always included
  • Your translation? – Just send it in

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 and for validating the “Poedit Editor”.

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.

评价

Best Tool for Admin

May 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.

Very h

Doeye Hof 2022 年 9 月 15 日
I say yes use this to click less

Big Time-Saver

Achim Kirchmeier 2021 年 6 月 16 日 1 回复
What should i say: Thanks a lot! 🙂

Just what I wanted

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)

Little thing but makes editing so much strait forward

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!

Spot-on Plugin, my first ever review

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条评价

贡献者及开发者

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

贡献者
  • Benbodhi

「Admin Toolbar Menus」插件已被翻译至 12 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Admin Toolbar Menus」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

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) 、 English (Canada) 、 English (New Zealand) 、 English (UK) 、 English (US) 、 Japanese 、 Russian 、 Spanish (Chile) 、 Spanish (Colombia) 、 Spanish (Ecuador) 、 Spanish (Spain) 、 Spanish (Venezuela) 和 Swedish.

    翻译成简体中文

  • 标签
    adminmenumenustoolbar
  • 高级视图

评级

5 星(最高 5 星)。
  • 19 条 5 星评价 5 星 19
  • 1 条 4 星评价 4 星 1
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Benbodhi

支持

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

查看支持论坛

捐助

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

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.