[wordpress插件] Admin Bar User Switching管理栏用户切换

wordpress 插件 文章 2020-02-02 18:20 503 0 全屏看文

AI助手支持GPT4.0

评分

98

98

描述

An admin bar “Switch to User” option is provided which on hover provides a search box where you can query a user to switch to.

提供了一个管理栏“切换到用户”选项,悬停时会提供一个搜索框,您可以在其中查询要切换到的用户。

The results are links to switch to that user.

结果是切换到该用户的链接。

This plugin is great for when you are building sites for clients and it is beneficial to see the site as your logged in client see’s it.

此插件非常适合您在为客户构建网站时使用,当您登录的客户看到该网站时,最好查看该网站。

And there is an optional mode where you can use a custom keyboard combination, say 'su', and it activates the form where you search for users, and then you can use keyboard arrows to navigate the list of results, and the

有一个可选模式,您可以使用自定义键盘组合(例如“ su”),并激活您搜索用户的表单,然后可以使用键盘箭头导航结果列表,然后

return key to switch to the selected user.

返回键以切换到所选用户。

The same combo can be used to focus the ‘Switch Off’ link, following a return to simulate a click.

在返回模拟点击后,可以使用相同的组合来突出显示“关闭”链接。

To activate this feature and set the custom keyboard combination, aka magic word, you need to use the abus_ajax_args and add a ‘magicWord’ variable.

要激活此功能并设置自定义键盘组合(又称魔术字),您需要使用 abus_ajax_args 并添加一个“ magicWord”变量。

Note that keyboard navigation is not dependant on the custom keyboard combination, and can be used out of the box.

请注意,键盘导航不取决于自定义键盘组合,可以直接使用。

安装步骤

To install the plugin:

要安装插件:

    1. Upload to the /wp-content/plugins/ directory
    2. 上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址

https://downloads.wordpress.org/plugin/admin-bar-user-switching.zip

https://downloads.wordpress.org/plugin/admin-bar-user-switching.zip

-EOF-

AI助手支持GPT4.0