I have WPTouch installed (free version, most recent), and on an Android mobile phone (Motorola), it only shows the “Home” button, and pressing it does nothing.
I have the plugin setup to show a lot of buttons, some custom. I’ve set up W3Total Cache the way many posts on the subject say to do.
In W3Total Cache, User Agent Groups, I have Android in the “High” group, and Theme is set to “pass through”. I also have it listed in the “Rejected User Agents” in the Page Cache and Minify sections. Is this correct?
It looks like your desktop theme is using a custom page template for your homepage. Since WPtouch loads its own theme, with its own page templates it can’t “see” the page templates in your desktop theme’s directory.
You can try setting a different landing page for WPtouch in the admin panel.
FYI, WPtouch Pro supports child themes/custom page templates.
I tried setting a couple different landing pages from the pages listed, but that didn’t help. Should I set up a special “home” page just for WPtouch? If so, how can I do it so that all my buttons will show up? Thanks.
Yes, you can create a custom mobile landing page for WordPress and enable it in the General Settings of your WPtouch admin panel. The page can then be customized to suit your needs.
Ok, I did create a special ‘home’ page for WPtouch, but it’s still not displaying right. Is there a way to make it so that all the buttons show up?
I have the same issue. I have WPTouch home page redirect set to ‘WordPress Settings’ and it fails. I have made a ‘mobile’ page and am re-directing to that page now but i have to use some widgets to show content because that one is blank as well. What do I put in a page template for a custom page so that it shows the proper WPTouch layout? http://www.pinwire.com
Please help us out a little more with this! As TMcGuire asked, please let us know what to put in a page template for a custom page so that it shows the proper WPTouch layout?
If by all the buttons you mean the menu, then no, showing the menu expanded automatically on the homepage is not supported. Though it’s a feature we’re considering in WPtouch Pro.
Since widgets are not shown, you’ll need to add your content using the normal page editor functionality. Custom page template is only in WPtouch Pro at this time.
Widgets ARE shown if you use a plugin to place them in the content area. But that’s not the issue. I can’t get the normal listing of posts to show in WPTouch. The home page is just blank. As I said. I redirected the home to a different page which i embedded some widgets into so that it would at least show the recent posts widget, in a list. This may clear it up a bit if you look at this. http://www.pinwire.com/Screenshot_2012-02-24_08-26.png
By ‘all the buttons,’ I mean like what your plugin description shows — the home screen of the phone showing all the category & page icons. Instead, like tmcquire, I’m just getting a blank home page. I too have tried setting up another landing page for WPtouch, to no avail.
Ok, thanks for the screenshot. Am I correct in assuming that your desktop theme is using a custom page template to display your blog listings? If so, WPtouch Pro allows you to select a “Custom latest posts page” which can even be assigned to a page using a custom page template (like a lot of commercial desktop themes do).
Are you also using a custom page template to display your blog listings?
not sure what you mean by desktop theme. Do you mean WordPress theme? My theme settings uses a page as the home page. It is somewhat custom in that there is a particular template that I am using for the home page. But having a home page template is expected these days. When I set the home page to Reading Settings to ‘Latest Posts’ the plugin works fine. If I can get that working code into a template then I can make a ‘mobile’ page and use that for the home page of the wptouch page…make sense?? Help appreciated. Thanks.
I am using this code in a custom template to display all of my posts, which works when viewing in a browser..but WPTouch ignores it and only grabs the content of the page and doesn’t make use of my template code.
$args = array( ‘numberposts’ => 3 );
$lastposts = get_posts( $args );
foreach($lastposts as $post) : setup_postdata($post); ?>
<h2>“><?php the_title(); ?></h2>
<?php the_content(); ?>
<?php endforeach; ?>
By desktop theme I mean the standard WordPress theme, yes.
WPtouch loads its own theme, with its own page templates, functions, css, etc. So anything you’re adding to the files of your standard WordPress theme will not automatically take effect in WPtouch, simply because WPtouch is loading its own template files.
You would need to edit the page templates in WPtouch’s theme. However, all your changes will be overwritten in an event of an update. Only WPtouch Pro at this time supports child themes, which allows all your changes to survive upgrades.
A custom posts page can also be easily assigned in the admin panel by selecting your custom page as the custom latest posts page.
- The topic ‘[Plugin: WPtouch] Android shows only the Home button, nothing works’ is closed to new replies.