[WordPress] 外掛分享: Admin Bar User Switching

首頁外掛目錄 › Admin Bar User Switching
WordPress 外掛 Admin Bar User Switching 的封面圖片
2,000+
安裝啟用
★★★★
4.8/5 分(12 則評價)
1419 天前
最後更新
問題解決
WordPress 3.1+ PHP 5.6+ v1.4 上架:2014-11-26

內容簡介

這個外掛最初是由Mark Wilkinson開發的。
它提供了一個管理列 "切換至使用者" 的選項,當游標移動到上面時,會提供一個搜尋框,您可以在其中查詢要切換到的使用者。結果是連結,以便您切換到該使用者。這個外掛很適合當您建立網站給客戶時,有利於您看到客戶登錄後所看到的網站。
此外,它還有一個可選的模式,您可以使用自訂的鍵盤組合,例如 "su",來啟動搜尋使用者的表單。然後,您可以使用鍵盤上的箭頭導覽到結果列表,按回車鍵以切換到選定的使用者。同樣的組合鍵還可以用來聚焦"關閉切換"的連結,按回車鍵以模擬單擊。
要啟用此功能並設置自訂鍵盤組合(即魔術詞),您需要使用abus_ajax_args並添加一個"magicWord"變數。
請注意,鍵盤導航不取決於自訂鍵盤組合,可直接使用。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Admin Bar User Switching」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin was originally developed by Mark Wilkinson.
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 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.
Note that keyboard navigation is not dependant on the custom keyboard combination, and can be used out of the box.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon