Skip to content

WordPress Mobile Admin UI for iPhone

Dan and I just wrapped up a project we’ve been working on recently. It’s a WordPress plugin that adjusts the admin interface for WordPress to make it more useable on mobile devices like phones.

You can check it out at its home on the WordPress Extend site: Mobile Admin.

It’s specifically targeted for the iPhone, in somewhat of a response to the recent release of a similarly iPhone-targeted admin UI for Moveable Type, but the eventual goal is to support a common, slimmed down view of the interface for any mobile device, and then just add custom styles and behaviors (via script) only for devices that are known to support them.

The approach we took was to use a plugin to either hide, alter, or remove elements that interfered with the standard display, and then add a few things back in to tie it all together on the smaller size screens. Here are some of the more technical details:

  • CSS was the preferred method for changing things; the plugin will remove the normal CSS associated with the admin pages and replace it with one specific to the iPhone (and alternate stylesheets later, as more browsers are supported).
  • In some cases where CSS rules could not be used to extract things from the page, or items needed to be reordered, etc., we used PHP’s regular expression search and replace support to alter the output of the page just before it gets rendered to the browser.
  • Some items which were still necessary (a lot of the details on the post page, specifically) were left in but we added script to make the sections that contained the non-primary features collapsible, so as not to clutter the interface.
  • In one case (the manage posts page) the interface was table based, and while it was an appropriate choice for normal size screens, we needed to extract it from that grid-based format to make it “flow” better on the narrow screen. Again, regular expressions to the rescue.

We broke up the work by concentrating on what our areas of strength; I did most of the PHP and javascript coding, while Dan did most of the CSS styling. I don’t have much of an eye for design, even though I’m very familiar with CSS on a technical level. We’ve taken a similar approach on previous efforts, but this will be the first publicly released one.

You can read more details here on Dan’s post.

Categories: Blog Posts.

Tags:

Comment Feed

10 Responses

  1. Will this work with the iPod Touch?

  2. It will, as of version 1.1, which was just published today.

  3. Will it work with WP 2.5.1 ??
    I believe it isn’t now!

  4. No, it doesn’t support 2.5; sorry.

  5. Too bad you stopped supporting this :( It looked great but it doesn’t seem to work on the new versions :(

  6. Sorry about that. I do believe there are other alternatives out there now, and I think there may even be an “official” one (meaning from automattic), but I don’t actually use an iPhone, so I don’t know for sure.

  7. Hi!

    Just wondered if you were still developing or supporting this plugin?

    On a similar subject, I’ve written a new one – called WordPress Mobile Admin (http://wordpress.org/extend/plugins/wordpress-mobile-admin/) that keeps the familiar look and feel of the WP control panel and allows you to perform tasks on your phone.

    You can create blog posts, manage existing ones, manage pages and moderate comments as well as upload photots straight from your phone to the post.

    It’d be really good to hear your thoughts on it – let me know what you think!

  8. Hey Rich,

    Sorry for the delayed reply, but no, I don’t plan on developing this further. I’d recommend that anyone looking for this explore some of the other options out there (like yours). I haven’t had a chance to look at yours specifically yet, but I’ll let you know what I think if I do.

    For those who may be interested in looking into this old one, I’d recommend against using the approach I went with here. I can share in more detail as to why, if anyone is really interested.



Some HTML is OK

or, reply to this post via trackback.

Continuing the Discussion

  1. [...] a week and a half of hard work Jared and I committed Version 1 to Wordpress Extend and should be available for download shortly. [temp [...]