setting a different theme for specific category in wordpress

WordPress can only use one Theme at a time. You cannot (and, really, should not) change Themes on-the-fly. (There are edge cases; search the Plugin repository for Theme Switcher Plugins for implementation examples.) That said, that doesn’t mean that a single Theme can’t output different styles based on the current context; and, really, that’s what … Read more

How to create my own sidebar in Twenty Eleven child theme?

I think I understand what looking for. I’ve put together some code I’ve taken from parts of my themes to give you an example. For the functions.php: <?php add_action( ‘after_setup_theme’, ‘ideatree_init’ ); if ( ! function_exists( ‘ideatree_init’ ) ): function ideatree_init() { // REGISTER THE NAV MENUS (3 in this case) add_action( ‘init’, ‘register_my_menus’ ); … Read more

How Do I Use A Custom Mobile Theme?

This depends on the theme in question, Some themes have a desktop and mobile versions built in. Some themes are made to fit the screen size (responsive). Some themes (for mobile) come as a plugin which activates it self when the user access the site from a mobile device. So In the either way its … Read more

Inconsistent translation on a WP site

When every message is hard coded in the theme files there can be no problem with gettext anymore. So, yes, depending on the theme WordPress can use different templates for home and other pages. But no, this has nothing to do with automatic translations. You have simply forgot to translate some strings, possibly in front-page.php … Read more

Howto keep header image when changing theme

Here comes the plugins to rescue, move that code into a plugin and activate. That’ll not change header image upon every theme change. E.g – <?php /* Plugin Name: keep header always */ // Your code to keep header image ?> save it as whatever-foo.php upload to /wp-content/plugins/ directory and activate it