ctrl+[key] functionality for Wordpress
November 13, 2010 5:28 AM Subscribe
I'm looking for a Greasemonkey script/Wordpress plugin that will allow me to use ctrl+s to save a post and ctrl+p to publish a post. This is for Wordpress 3.0.1, self hosted.
Option 1] A greasemonkey script that will do some javascript magic to a] press the "Save Draft"/"Update" button to either save or update a post when I press ctrl+s and b] press the "Publish" button to publish the post when I press ctrl+p.
Option 2] A Wordpress plugin that will do the above.
I realise that I can press alt+shift+p to publish a post. However, I'm looking for some different (and additional) functionality. Ctrl+[key] is easier for me, and the save/update key functionality is apparently completely missing anyway.
Option 1] A greasemonkey script that will do some javascript magic to a] press the "Save Draft"/"Update" button to either save or update a post when I press ctrl+s and b] press the "Publish" button to publish the post when I press ctrl+p.
Option 2] A Wordpress plugin that will do the above.
I realise that I can press alt+shift+p to publish a post. However, I'm looking for some different (and additional) functionality. Ctrl+[key] is easier for me, and the save/update key functionality is apparently completely missing anyway.
Response by poster: No, because I have already unassigned those keys.
posted by Solomon at 8:04 AM on November 13, 2010
posted by Solomon at 8:04 AM on November 13, 2010
Ah. Well if you want to change the keyboard shortcuts yourself and you feel up to it, the code for them is allegedly in the /wp-includes/js/quicktags.js file.
I used to change the edit buttons by fiddling around with that file but that was years ago when I was less stupid so I can't help you do it.
posted by ClarissaWAM at 9:03 AM on November 13, 2010
I used to change the edit buttons by fiddling around with that file but that was years ago when I was less stupid so I can't help you do it.
posted by ClarissaWAM at 9:03 AM on November 13, 2010
Response by poster: Unfortunately, that doesn't include the functionality for saving the post, only publishing it.
posted by Solomon at 12:15 PM on November 13, 2010
posted by Solomon at 12:15 PM on November 13, 2010
This thread is closed to new comments.
posted by ClarissaWAM at 6:50 AM on November 13, 2010