Page no: P02d
Page no: P02d
WordPress plugin directory: WP Touch Mobile Plugin / Theme
Author’s plugin page: WP Touch page
The main requirement for our mobile sites was to use the same code on Desktop site and on Mobile site. Furthermore, we decided to use WP Touch. Therefore we need to examine what the difference between Core WP Touch theme and WP Touch plugin.
The best plugin for snbchf mobile seems to be WP Touch.
Understanding between template, plugin, wp touch template
Template or theme is the desktop theme of the site. In our case this is Graphene child based on Graphene.
Plugins is all our enhanced functionality into our wordpress. We use them for different purposes. One of them is WP Touch.
WP Touch templates
WP Touch is plugin which we use for our mobile version on snbchf and all other sites. It has own template engine and own templates. They are only mobile templates and they don’t have any common with normal templates. You can see all of them under WPTouch -> Themes & Extensions. We based on the only free template and change it to fits our needs. We can also change the template settings – like colors, fonts on. This can be found under WPTouch -> Theme settings.
WP Touch as mobile plugin
WPtouch is a mobile plugin for WordPress that automatically enables a simple and elegant mobile theme for mobile visitors of your WordPress website.
The administration panel allows you to customize many aspects of its appearance, and deliver a fast, user-friendly and stylish version of your site to your mobile visitors, without modifying a single bit of code (or affecting) your regular desktop theme.
The theme also includes the ability for visitors to switch between the theme on your mobile WordPress website and your website’s regular theme.
Go Pro for support and enhanced themes & features
WPtouch Pro includes a variety of enhanced themes for blogs, businesses, and WooCommerce retailers; extensions that add rich advertising options, advanced web font controls, caching, and more; and of course top-notch one-on-one support from our professional team.
‘WPtouch’ & ’WPtouch Pro’ are trademarks of BraveNewCode Inc.
SNBCHF mobile version
The plugin is installed and setuped on our test site. On the page on requirements for mobile snbchf we match the requirements.
The following page shows the title and the feature image, which is fine.
The next one needs some manual work, because the featured image has too much information for such an image.
The settings for WP Touch are entered as such. Renationalisation seems to be hard-coded and cannot be user-specific.
The landing page could be a latest post page.
Mobile theme switch plugin as alternative
We can use a mobile theme switch plugin, but it has conflict with W3 Total Cache. The plugin doesn’t work, when we activated Page cache on W3 total cache. The plugin cache only one version of the site – sometimes desktop version, sometimes mobile version and it serves this version on both mobile and desktop. The good part is that we can use this plugin with any template.
Problem with Switching from Mobile to Desktop
The function for switching from mobile to desktop is hard-coded in the footer, we cannot move it.
Option 1: Rewrite whole function
Which function exactly?
The effort for re-writing is that the code is at 15 different files and this cause is problems.
Option 2: Choose a different theme
Problem is: We need to verify if the other themes/plugin fulfill our needs.
We choose to rewrite the whole functionality and to be independent from WPTouch. The needed new functionality works very smoothly.
Graphene mobile as alternative
One of very good solutions is to use Graphene Mobile template. It is paid, but it is only $25. If we use it, we only have to change his settings.
|6. Share post|