v1.1; James Pearce, dotMobi, and team; 15 July 2009
Copyright 2009, MTLD Top Level Domain Ltd
The pack is easy to install and will work immediately with the default settings. However, it is also very easy to configure it with your own preferences.
On WordPress v2.7 and later, the installation is as follows:
wordpress-mobile-pack.zip
then press 'Install now'.On WordPress v2.5 and v2.6, the installation is very slightly different:
wordpress-mobile-pack.zip
into wp-content/plugins
NB: the web server needs to have write-access to the image cache folder wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_transcoder/c
. If you have installed the plugin with WordPress 2.7, this should already be the case. Otherwise, or if you see errors when the plugin tries to resize images, you will need to set the permissions on that folder appropriately.
Ensure that the c
flags are rwxrwxrwx
, or whatever you choose in order to be web-server-writable:
wordpress $> cd wp-content/plugins plugins $> cd wordpress-mobile-pack/plugins/wpmp_transcoder wpmp_transcoder $> sudo chmod 777 c wpmp_transcoder $> ls -al ----------------------------------------------------------------- drwxrwxrwx 3 root staff 102 20 Apr 10:08 c -rwxrwxrwx 1 root staff 13003 20 Apr 10:43 wpmp_transcoder.php
NB: the web server also needs to have write-access to the themes folder wp-content/themes
, as it installs themes in that directory as part of the plugin activation.
If you have installed the plugin with WordPress 2.7, this may already be the case. Otherwise, or if you see errors when activating the plugin, you will need to set the permissions on that folder appropriately.
Ensure that the themes
flags are rwxrwxrwx
, or whatever you choose in order to be web-server-writable, using a similar technique to that above.
A more comprehensive setup process and guide to configuration is as follows:
wordpress-mobile-pack.zip
into wp-content/plugins
wp-content/plugins
you should now see a directory named wordpress-mobile-pack
wp-content/themes
directory and wpmp_transcoder/c
cache directory are web-server-writable, as described above.http://yoursite.com/wp-admin
wp-content/themes
you should now see a selection of new directories including mobile_pack_base
, mobile_pack_blue
etc.Ideally, use a real mobile device to access your (public) site address and check that the switching and theme work correctly.
You can also download a number of mobile emulators that can run on a desktop PC and simulate mobile devices.
If you use the Firefox Browser, the 'User-Agent Switcher' add-on can be configured to send mobile headers and crudely simulate a mobile device's request.
You can also use dotMobi's free on-line ready.mobi tool to test the compliance and mobile quality of your site.
Finally, you might consider DeviceAnywhere's web-based service that allows you to remotely test your site with hundreds of different models of handsets.
If you discover that your device is not being correctly served the mobile themes, please check the plugin and theme installations. Failing that, contact dotMobi with details of your device and site.
If you have a new or unusual device, and are happy editing PHP files, you may wish to add a new user-agent prefix to the list of those to be detected. You'll find these (4-letter) prefixes in the file wp-content/plugins/mobile_pack_switcher/lite_detection.php
This pack also comes with an overview guide and a readme of known issues.
There is an index to the included documentation