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

Admin Command Palette

描述

The Admin Command Palette (ACP) is a modal window in the WordPress Admin that live searches admin content, which saves you many clicks and page loads. You can:

  • Search for and navigate to user-generated content (Posts, Pages, Users, etc.).
  • Search for and navigate to WordPress Admin Pages (All Posts, Add New Post, etc.).
  • Perform WordPress Admin actions via the ACP or a keyboard shortcut (Publish, Add Media, View Post, etc.).

This plugin brings about a new level of efficiency to WordPress admin user interactions: it’s like the difference between going over a mountain via a pass, versus going through a mountain via a tunnel. The tunnel is always more direct, more efficient, and more straightforward than the pass.

屏幕截图

  • The Admin Command Palette in action.
  • The Admin Command Palette settings page.

安装

  1. Upload admin-command-palette to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the keyboard shortcut “shift+shift” to activate the search modal window.
  4. See Frequently Asked Questions for further setup instructions.

常见问题

Installation Instructions
  1. Upload admin-command-palette to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the keyboard shortcut “shift+shift” to activate the search modal window.
  4. See Frequently Asked Questions for further setup instructions.
Settings

You can customize the plugin settings on the Admin Command Palette settings page in the WordPress Admin. (Settings -> Admin Command Palette)

  • Threshold (Default: .3): this determines how closely a search query must match in order to return an item as a result. 0.0 must be a perfect match, 1.0 will match anything.
  • Max Results per Section (Default: 5): a max number of results per content type.
  • Group Results by Type: Results can be displayed one of two ways. The default is to display results in a flat list, ordered by closest match. Selecting this option displays results grouped by their content type, e.g., all the posts, pages, tags, categories, etc. will be grouped under individual subheadings.
  • Included Post Types (Default: none): Select post types from this checkbox group to include them in the search. All registered post types except for navigation menu items are included in this list.
  • Included Taxonomies (Default: none): Select taxonomies from this checkbox group to include them in the search. All registered taxonomies are included in this list.
  • Clear Content Cache: The data for this plugin is generated and loaded into the page from a cache that gets automatically cleared whenever new content is added. You can use this button to clear the cache manually.
How does the search determine a match?

The live search compares the search term against titles, e.g., a post title, an admin page title, or an admin action title, using the Fuse.js library to find results.

Keyboard Shortcuts

The ACP comes with some built-in keyboard shortcuts to make actions in the WordPress admin easier. You do not need to open the ACP in order to use the shortcuts.

  • – Clear input focus
  • ⇧+s – Primary button click
  • ⇧+p – Preview
  • ⇧+t – Trash
  • ⇧+v – Open Post/Page in New Tab
  • ⇧+n – Add New Post/Page
  • ⇧+f – Set Featured Image
  • – Pagination: next page
  • – Pagination: previous page
  • ⇧+→ – Pagination: last page
  • ⇧+← – Pagination: first page

评价

2018 年 7 月 11 日
This is such a slick and intuitive tool – thanks a lot!!!
2016 年 9 月 3 日
I'm loving this plugin. It saves me a lot of time - especially when doing something where I'm switching between admin pages constantly.
阅读所有4条评价

贡献者及开发者

“Admin Command Palette” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Admin Command Palette”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.2

Corrected documentation.

1.0.1

Spelling fixes.

1.0

Initial version.