Wednesday, November 5, 2008

Hack WordPress

Hack WordPress

Keyboard Shortcuts in WordPress 2.7

Posted: 05 Nov 2008 02:00 AM CST

Are you someone who enjoys using keyboard shortcuts?   If so, you are going to love WordPress 2.7.

Beginning with WordPress 2.7, one change is the addition of keyboard shortcuts for moderating comments.  According to the WordPress Codex:

Using Keyboard Shortcuts to Navigate

Navigating comments is accomplished with the j and k keys. When you first visit the Comments page, no comments are selected, so, first press the letter j, or the letter k, to select the first comment. After that, just press the letter j to move the select to the next comment.

  • Pressing j moves the current selection (light-blue background) down.
  • Pressing k moves the current selection (light-blue background) up.

Note that if you come to the bottom of a page of comments and press j again, you will be taken to the next page and the first comment of that next page will be selected. Likewise, pressing k at the top of a comment page will zoom you to the previous page, selecting the comment at the bottom of that previous page.

Using Keyboard Shortcuts to Perform Actions

For one of these actions to affect a comment, make sure the comment is first selected.

  • Pressing a approves the currently selected comment.
  • Pressing s marks the current comment as spam.
  • Pressing d deletes the current comment.

Note that those first three actions (and most common actions) use the three left-most keys of the home row of a QWERTY keyboard. It is recommended that you shift your hand to the left so that your index finger is on d instead of on f, as is normal.

  • Pressing u unapproves the currently selected comment, placing it back into moderation.
  • Pressing r initiates an inline reply to the current comment (you can press Esc to cancel the reply).
  • Pressing q activates “Quick Edit” which allows for rapid inline editing of the current comment.

Read the official Codex article here.

Related Articles at WordPress Hacks:

You are reading Keyboard Shortcuts in WordPress 2.7 © 2008 | WordPress Hacks | WordPress eBook | Premium WordPress Themes.

Enjoy writing about WordPress? Get your blog more exposure by joining the WordPress Hacks writing team!

Post a Comment
Related Posts Plugin for WordPress, Blogger...

Popular Posts