Why don’t my custom menus show up in WPtouch Pro?

There are two solutions. The simplest is have you database tables start with wp_. Of course that is’t always an option, for example a multi-site install or a situation where you don’t control the host environment. I looked around other parts of the code, and they use {$wpdb->base_prefix} when constructing the SELECT queries, but for … Read more

W3 Total Cache benefits without using plugin? [closed]

Did you already try adding all the mobile user agents to the “Rejected user agents” list in w3tc? I use this list for this purpose (not created by me and certainly not complete but enough for my purpose): iphone ipod ipad aspen incognito webmate android dream cupcake froyo blackberry9500 blackberry9520 blackberry9530 blackberry9550 blackberry9800 webos s8000 … Read more

How to get WPtouch working?

There is this very old post on wordpress.org that I think is the answer to your concerns. From the plugin author (ten months ago): Using a sub-domain is not supported at this time. However, if you mean that you’d like to do your own redirection/detection, you can use one of the many Javascript and PHP … Read more

Load featured article once in a loop

I was able to find a solution to my own problem. For anyone needing to solve this in the future, WordPress offers a set of conditional statements for just able everything, include pagination. <?php get_header(); ?> <?php if ( ! $paged || $paged < 2 ){ ?> <?php locate_template( ‘featured-post.php’, true, false ); ?> <?php … Read more

Adding a template in WPTouch

As WPTouch uses its own theme, we can’t hardcode certain functionality inside the regular theme, neither in a page/post template nor functions.php. So, a custom plugin is needed and the desired output made out of a Shortcode. Also, make sure WPTouch Restricted Mode is turned off in Advanced Options > Advanced Settings. But probably this … Read more

How do you create a custom WPTouch theme?

You can write a Child Theme as for any other theme. This way you can extend the functionality override stuff that’s wrapped inside a if ( ! function_exists(‘function_name’) ) statement in the parent themes functions.php override templates There should be no real difference between such themes and normal themes.