Skip to content

Usher introduces global (and screen-specific) keyboard shortcuts for navigating the WordPress admin.

License

Notifications You must be signed in to change notification settings

DrewAPicture/usher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usher

  • Stable: v1.0.1
  • Requires WP: 5.0
  • Requires PHP: 7.0

Usher brings Gmail-like keyboard shortcuts for navigating around the various core pages of the WordPress admin.

Additionally, it includes a robust API for registering new global and screen-specific keyboard shortcuts.

Shortcuts panel listing shortcuts

To register new shortcuts, use the Usher\register_shortcut() function. For example:

Add a shortcut for the EDD Dashboard

Usher\register_shortcut( 'g d', array(
    'label' => __( 'Navigate to the EDD dashboard', 'textdomain' ),
    'url'   => 'edit.php?post_type=download',
    'cap'   => 'manage_shop_settings'
) );

Add a shortcut for the Jetpack Dashboard

Usher\register_shortcut( 'g j', array(
    'label' => __( 'Navigate to the Jetpack dashboard', 'textdomain' ),
    'url'   => 'admin.php?page=jetpack',
    'cap'   => 'manage_options',
) );

About

Usher introduces global (and screen-specific) keyboard shortcuts for navigating the WordPress admin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published