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

Custom Admin-Bar Favorites

描述

Allows admins other users with a specially-defined user-capability to define a custom menu on the admin-bar of his or her favorite shortcuts.

Support

Technical support for this plugin will be provided via the WordPress plugin forum. Additional support may be
available at plugin’s homepage.

屏幕截图

  • This is the Favorites menu in the admin bar.
  • Editing the menu with the administrator interface.
  • Editing the menu with the non-administrator interface.

安装

Installation is simple and straight-forward:

  1. Unzip admin-bookmarks.zip into to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

What capability do non-Editors need to have and manage a menu?

The role needs to have the ‘manage_personal_menu’ capability.

How can you assign the ‘manage_personal_menu’ capability to a role?

There are many great plugins for assigning a capability to a role. However, you can manually add the role with the following lines of code:

        global $wp_roles;
        $wp_roles->add_cap("editor", "manage_personal_menu", true);

The above line adds the capability to the Editor role. Replace ‘editor’ with whatever role you wish to assign the capability.

Why can’t users with the ‘manage_personal_menu’ capability manage their bookmarks in the same way an administrator can?

The user must have the ‘edit_theme_options’ capability to be able to edit a navigational menu. Without that capability, he or she will not be able to use the menus interface and must use a different interface instead.

Why are there menus labeled ‘favoritesBar’ followed by a number?

Each user gets a favorites bar menu followed by their User ID. Editing a favorites bar with a User ID not your own will effectively be editing a different user’s menu.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

更新日志

0.1

  • Initial public release.