Using Wordpress with a mobile phone isn’t the easiest thing to do. There are a few plugins available, but all I’ve tried have their drawbacks. I’ve now installed the WordPress Mobile Plugin which is the only plugin I’ve found that allows me to upload images from my phone (for an example, see my post earlier today).
But this plugin is far from perfect. Some drawbacks I’ve experienced while creating the first post:
- Image uploading didn’t work at first because the plugin tries to store the images in the wrong folder. In the plugin’s only file (wordpress-mobile.php) there is:
152
$dir_file_path = $_SERVER['DOCUMENT_ROOT'] .'/'.attribute_escape(str_replace(ABSPATH, '', get_settings('upload_path'))) .'/';
which yields a path that is missing everything between your document root and the folder for uploaded files specified in the Wordpress settings. This is easily fixed by replacing the above line with this:
1
$dir_file_path = ABSPATH .get_settings('upload_path') .'/';
- The plugin allows you to choose tags as categories in which to put posts you’ve made using the mobile interface. But if you select a tag instead of a category the post will be added to a category whose name equals the tag’s ID.
- The plugins shows ads in the blog’s mobile version. Not a lot, but that is not nice.
By the way, there is a short overview of Wordpress mobile plugins over here.
Well, otherwise it’s working well.
July 11th, 2008 at 18:27:17
Thank you so much!!! I have been looking for this solution for a few days now!
Thank you so much! Now I can upload images!!
Greetings!