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.

6 Comments

  1. Posted September 28, 2007 at 10:44 am | Permalink

    Will this work with the iPod Touch?

  2. Posted September 28, 2007 at 8:17 pm | Permalink

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

  3. Posted June 23, 2008 at 3:01 pm | Permalink

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

  4. Posted June 23, 2008 at 4:22 pm | Permalink

    No, it doesn’t support 2.5; sorry.

  5. Alin
    Posted July 1, 2009 at 10:25 pm | Permalink

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

  6. Posted July 1, 2009 at 11:16 pm | Permalink

    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.

One Trackback

  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 [...]

Post a Comment

Your email is never shared. Required fields are marked *

*
*