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

Guidelines / restrictions about advertising /donate begging unside wordpress plugins or themes

http://wordpress.org/extend/plugins/about/guidelines/ You are probably thinking about #5 and #10 on that page. There are other possibly relevant ones as well, like #7 about phoning home. Basically, you cannot broadcast your plugin on the front side of the website without the ability to turn it off (user consent). Nor can your plugin be “trialware”. Its OK … 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

Combining wordpress themes

If you are only using “a feature” of one theme, you may be better off taking your “standard” theme (the one you’d like to use throughout) and then taking the functionality from the “one-off” theme and adding it onto the former. This goes in-part with the fundamental idea of not adding such functionality to a … Read more