Опис
This plugin lets you save your posts, pages, theme and plugin files, widgets, menus, etc. in the most natural way: pressing Ctrl+S (or Cmd+S on Mac).
I’ve coded this plugin because I was tired of pressing Cmd+S and then realize Chrome was trying to save the whole webpage
After coding this up, I’ve found in the plugin directory two plugins that did the same thing, but each one had some flaws that convinced me to publish mine.
This plugin loads a small Javascript file (minified if not WP_DEBUG). The Javascript checks the contents of any admin page for save buttons.
It is also so smart that saves as draft unpublished posts/pages and updates the ones that are already public.
Also adds a little tooltip on the buttons that can be “clicked” with Ctrl+S or Cmd+S.
Встановлення
- Upload the folder
save-with-keyboard
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Часті питання
- Is it really so simple to install and use?
-
You can bet it is.
- Where can I use the shortcut?
-
Almost everywhere!
If it’s not a post, page, widget, menu or link the plugin checks for the #submit selector (used, for instance, in theme, plugin and profile).
Відгуки
Учасники та розробники
“Save with keyboard” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“Save with keyboard” було перекладено на 6 локалізацій. Дякуємо перекладачам за їх роботу.
Перекладіть “Save with keyboard” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
3.0.2
Fixed loading of minified script.
3.0.1
Fixed localization support for old WP versions.
Fixed saving inside TinyMCE editor.
3.0
Added support for saving menus.
Rebuilt tooltip insertion with support for localization.
Tested up to WP 5.0 with Gutenberg (which doesn’t use the plugin ’cause it already handles this shortcut).