WordPress iPhone app – crashes ** FIXED **

Today I downloaded the Wordpress app from the Apple App store, for the iPhone. I have been looking forward to this for some time since that although my site looks good on a mobile device, it doesn’t lend itself to be uploaded to from a mobile device.

Until now… Enter the Wordpress application from the app store. errrrm… ok… But it didn’t work for me. It would consistently crash and restarting the app would just crash immediately. I determined this was because I am running a Wordpress multi-site. Whether it is or not, I found the fix:

Please open “your/wordpress/directory/xmlrpc.php” in any text editor, and rewrite the line 477,
'blogid' => $blog_id,
'blogid' => (string) $blog_id,.
Yeah! Now, you can use WordPress for iOS!

Now I’m a happy camper…

BTW, I found this solution here, look for the first comment dated 05/07/2010.

edit: today I upgraded wordpress to the latest version 3.01 and I checked the above file, it has not been fixed. If you install the 3.01 update, you will also need to re-edit and include the string cast for the blogid.

on a side note: I also use tumblr, and the tumblr app for the iPhone is equally FANTASTIC! Highly suggested and recommended if you use tumblr.

Posted in general | Tagged , , , , | Leave a comment

Inline Subpage List Plugin

Wow, what a mouthful. This plugin allows the listing of subpages of any parent/root page (not necessarily the page you are on). For example, this is a post, not a page, yet below are the subpage listings for two different parent documents (demo, and my book).

The plugin is based on the Inline Posts by Aral Balkan, and is formatted very similarly. In the inline posts plugin, to include the page/post inline within the current page/post, you simply place the desired page/post ID within double square brackets, like this: [[10]]

With this plugin, however, you do the same but include a minus sign (if you do not want to have the parent page title appear at the top of the list), or a plus sign (if you do want the parent page title to appear).

ie, you use: [[+10]] or [[-10]]

As demonstrated below, we can see the pages under the “Demo” root:

And to include the parent page title, we use the plus sign version and it appears thus:


We can include any root or parent page that has sub pages, and here are the chapters of my fictitious book:

Would you like to buy a copy? 😉

At present, this plugin is still in development, I really don’t like the formatting at this point. Feel free to comment and I may be inclined to speed up it’s release.

Posted in plugins | Leave a comment

Subpages widget

Alper Haytabay had created a subpages widget that was pretty much exactly what I was after (for another site I was working on). I found one flaw that prevented the widget from displaying nicely. In fact, the flaw didn’t appear to come from the widget but rather some other anomaly I could not determine the origin of.

The problem only occurs when the widget is displayed in it’s own sidebar. If there are no sub-pages to the current page the sidebar (which should be empty – and hence not displayed) appears. I could not seem to find a way to override this so I created a little addition to the existing code. If there are no subpages, display a small (user-defined) tagline instead. I made one other change to include this widget on all pages/posts so that if there are no subpages, the tagline will always be present.

For example, the tagline appears above the search box in the sidebar. IF you visit one of the demo pages, you will see the widget in all it’s glory.

The widget (my version) can be found here: subpages-widget

Posted in plugins, widgets | Tagged , , , | 1 Comment

Yet another Wordpress site!

I know, I know…. There’s plenty of wordpress sites out there, and I don’t really want to be another one. But (there’s always a but), I created this primarily as a placeholder for my own thoughts and ideas, as well as a repository for my own widgets, plug-ins and page templates as I see fit.

Posted in general | Leave a comment