Save with keyboard
Save everything in the most natural way by pressing Ctrl+S (or Cmd+S on Mac).
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.
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
- Activate the plugin through the 'Plugins' menu in WordPress
Frequently Asked Questions
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).
Nothing to show you. It works behind the scenes.
Initial development by @zupolgec, refactoring for v2 by @sjeiti
- Fixed loading of minified script.
- Fixed localization support for old WP versions.
- Fixed saving inside TinyMCE editor.
- 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).
- Now the shortcut works even in visual editor!
- Minimum WP version bumped to 3.0
- Tested up to bumped to 4.8.2
- Fixed typo in tooltip
Fixed stupid bug removing a single '!'
Updated plugin to work with the latest WP (3.9.2)
- Refactored PHP to simply add a script.
- Refactored to save/publish any page/post/link/comment/widget/whatever.
Worked pretty well, but now it's awesome:
- removed dependency from external libraries (except for jQuery which is anyway loaded by WP backend)
- enabled shortcut in Themes and Plugins editor
- added tooltip on shortcut-enabled buttons
First version. Should work already pretty well.