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.

Two Navigation Menus – secondary nav is including main nav

In your theme’s functions.php did you register a new WP Menu ? by using a code like this: register_nav_menus( array( ‘secondary’ => __( ‘Secondary Navigation’, ‘twentyten’ ), ) ); And after that in your theme’s header.php under <div id=”access” role=”navigation”> you should add <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header-secondary’, ‘theme_location’ => ‘secondary’ ) ); ?>

How to load a different theme for categories?

Ok, after some consideration and tinkering I could get it to work. The reason it wasn’t working was because the needed procedures for loading a template kick in long before the the parser gets to functions.php of the theme. So to overcome this I had to bring the code into the plugins’ section. By creating … Read more

Toolbar/topbar missing on homepage only?

As Mayeenul wrote: Use Firebug/Chrome Inspector to see what’s wrong. Look for Javascript Errors in the console see if the Adminbar is inside the DOM but hidden via CSS. It could also be disabled via a filter in PHP with something like this: if( is_front_page() ) { add_filter(‘show_admin_bar’, ‘__return_false’); } … but I would say … Read more

Theme information in style.css being corrupted

I use Notepad2 to edit style.css I opened it in Notepad++, and there were extra line breaks on every line. I opened it in Dreamweaver CS6, selected Commands > Apply Source Formatting, and all extra line breaks were removed. I uploaded it, and it now views normally in the browser (Originally viewing style.css showed the … Read more

Setting a static home page and blog page without using the settings

The answer appears to be that it is possible: http://codex.wordpress.org/Creating_a_Static_Front_Page Configuration of front-page.php If it exists, the front-page.php template file is used on the site’s front page regardless of whether ‘Settings > Reading ->Front page displays’ is set to “A static page” or “Your latest posts,” the Theme will need to account for both options, … Read more