Linux 软件免费装
Banner图

Quick Navigation Interface

开发者 iandunn
更新时间 2020年12月9日 21:39
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 5.6
版权: GPLv2

标签

navigation shortcuts wp-admin keyboard

下载

0.1 0.2 0.3 0.4 0.5 0.6 0.7 1.0 1.0.1

详情介绍:

Quick Navigation Interface provides a new way to navigate through the Administration Panels, combining the speed of keyboard shortcuts with the ease of a graphical user interface. Just press g or ` -- the backtick character, usually located above the tab key -- to bring up the interface, and then start typing part of the name of any screen, post, page, etc. As you type, you'll be shown a list of matching links. Use the UpandDownkeys to move between them, and pressEnter to open one. https://www.youtube.com/watch?v=60iVn94hEIE This was inspired by Ubuntu's Dash and HUD, and is also similar to the Spotlight feature in OS X.

屏幕截图:

  • Pressing `g` or \` brings up the interface
  • Matches are displayed and filtered as you type

升级注意事项:

1.0.1 Version 1.0.1 fixes several minor bugs in the 1.0 release. If you're experiencing any problems, please update. 1.0 Version 1.0 adds many new features and fixes some bugs. 0.6 Version 0.6 adds compatibility with the upcoming WordPress 4.5 release. 0.5 Version 0.5 contains a few minor bug fixes and minor internal code quality improvements. 0.4 Version 0.4 makes a small adjustment to the close button to stay in sync with WordPress 4.3. 0.3 Version 0.3 adds hierarchy information to menu items and a German localization. 0.2 Version 0.2 adds posts, pages and other content to the search results, and reduces the number of duplicate results. 0.1 Initial release.

常见问题:

I'm pressing g or the ` key, but nothing happens

There are a few likely causes for this:

  1. The page hasn't finished loading yet. Make sure you wait until the circle in the title bar has stopped spinning.
  2. The cursor could be focused on an input field (like a text area or a button). Try clicking anywhere outside an input field (like the page's background) to move the focus off of the input field, and then try to open the interface again.
  3. If you're not using an English keyboard, the key might not work. You can pick another key by following the instructions in the FAQ entry below. To help improve this for other non-English users, please let me know what a good key would be for your language.
  4. You might be mistaking the ` (backtick) key for the ' (single-quote) key. You need to press the backtick key, which is normally located above the tabkey and left of the1key. You can also try using theg key instead.
  5. JavaScript execution might have been halted because of errors on the page, which would most likely be caused by the theme or another plugin. You can check your browser's error console for details, and send the error to the plugin's developer. To work around it, try disabling all other plugins temporarily, and switching to one of the Core themes, and see if that solves the problem. If it does, turn them back on one-by-one until you isolate which one is causing the problem.

Why doesn't the content I'm searching for show up?

There are a few reasons why you may not see all content.

  1. For performance reasons, only a limited number of posts are searched. The default is 500, and can be changed via the qni_content_index_params filter.
  2. The search term must match the title of the content exactly. It doesn't need to be the entire word, but it can't be a typo or a "fuzzy" match.
  3. You'll only be shown content that your user account has permission to edit.

Can I customize the keyboard shortcuts and other options?

There isn't a settings page, but all of the internal options can be modified via the qni_options filter. If you're not familiar with using filters, you can learn more about them from the WordPress Plugin Developer's Handbook, and then implement them in a functionality plugin that you write, or via a plugin like Functionality. The values of the keys must correspond to JavaScript keyCodes, and the plugin doesn't currently support using combinations. Be careful to choose keyCodes which are consistent across browsers.

How can I edit the JavaScript files?

Unfortunately modern JavaScript makes this more difficult than editing PHP, but there are instructions in the GitHub repository.

Is this plugin secure?

I've done my best to ensure that it is, but just in case I missed anything I also offer a security bounty for any vulnerabilities that can be found and privately disclosed in any of my plugins.

更新日志:

v1.0.1 (2019-11-19) Full changelog v1.0 (2019-11-13) Breaking Changes: Full changelog v0.7 (2019-02-14) v0.6 (2016-03-10) v0.5 (2015-11-01) v0.4 (2015-08-14) v0.3 (2015-06-12) v0.2 (2015-05-24) v0.1 (2015-05-22)