I don’t know if this still works, but even if it does there are better tools for this, such as WordPress CLI. Do not use.

Alright, so I was working on a WP site and somebody had hidden the wordpress toolbar for my user. I was too lazy to go turn it back on, so I kept typing /wp-admin/ in the address bar to get back to the admin panel (now that I write that, I don’t know why I didn’t use the back button, but regardless.)

So anyway, it gave me the idea to write an Alfred extension that lets me jump to some key places in wordpress without showing the toolbar (which is nice, but it can be difficult if your trying to style a page and it’s overlapping something) or typing in the address bar. I figured it would be a time-saver.

It was not. I ended up spending about an hour and a half getting this thing working (I’m new to applescripts/programming in general), and I’m still pretty sure there are much easier & better ways to accomplish what I wrote. But here it is; it does what it’s supposed to accomplish and will probably save me a lot of hassle in the future.

Usage: “wp {query}”

Or to jump to the dashboard, leave off the query: “wp”

Keywords: posts, pages, media, comments, widgets, styles, plugins, settings, and a few other I don’t remember. You can add your own fairly easily by just adding another if statement.

Download (requires Alfred Powerpack to do anything, obviously. Also, it only works with Safari right now.)