March 22nd, 2010
Version 0.2 has just been released of the Mobile Smart plugin, which is a plugin to help mobile site development in WordPress.
Download through the WordPress.org plugin repository: http://www.wordpress.org/extend/plugins/mobile-smart/ (note: link will open in new window/tab).
Mobile Smart currently contains the following functionality:
Any feedback gladly welcomed.
Tags: iPhone, mobile smart, theme switcher, Wordpress
This entry was posted on Monday, March 22nd, 2010 at 13:06 and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Hi, I have found an error in vers. 2.1.25 at line 297 in mobile-smart.php
“__e” should be replaced with “__” or the plugin won’t save the options.
Anyway I have fixed that error but accessing my website from Safari (with iPhone user agent) it shows me the default theme. Any idea?
Thanks Istvan, your debugging is much appreciated. I’ll incorporate this in a fix release shortly.
Accessing the website from Safari was having problems as the switcher had missed a case and assumed you were also using the footer switcher. I’ve added a fix for that too, and will release this updated version shortly.
Many thanks for your feedback,
Dan
Hi! I have tested the new version but I’m unable to see the switcher. I have tried it both from the option in the admin panel and inserting the php code in my theme but none showed the link to the mobile version.
To be honest, I have tried it on a site with Cache enabled but also after many minutes (when cache should have expired) it doesn’t show the link.
You can maybe install here on you site so we can see how it works… a sort of live demo.
P.S. in the readme file the is a ‘?’ missing at the end of the php code.
Thanks again Istvan for your active feedback and participation in this plugin.
Can you let me know which options you enabled to add the switcher?
I’ve now got the plugin installed on this site – you can see that currently I have a small bug on the site (rather than with the plugin) when it comes to the blog (I’ve left this bug in deliberately for the moment) – this bug shows that the “Switch to mobile version” link usually appears in the footer, but because of a lack of a cleared div, it pops up at the bottom of the right sidebar – this is sometimes the cause of the problem.
You can also see that it is implemented inside a div with the id of “mobilesmart_switcher” – you can view the source of your page to show whether it is appearing in there.
Otherwise, I’m guessing it may be related to the cache.
Hope this helps – feel free to come back with any responses,
Dan
PS I’ve fixed the readme file also, should appear soon in the 0.2.1 version.