The WordPress Mobile Pack is a complete toolkit to help mobilize your WordPress site. It has a mobile switcher, themes, widgets, and mobile admin pane
Here, the installation is very slightly different:
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 directory 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</pre>
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. If you are installing the plugin through the admin dashboard, you'll be able to skip most of the early steps.
wp-content/pluginsyou should now see a directory named
wpmp_transcoder/ccache directory are web-server-writable, as described above.
wp-content/themesyou should now see a selection of new directories including
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 the authors 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
Requires: 2.5 or higher
Compatible up to: 3.0.5
Last Updated: 2012-7-5
3 of 16 support threads in the last two months have been resolved.
Got something to say? Need help?