Customising a theme

The beautiful thing of WordPress (In my opinion) is that you can make almost any website and only have to make a theme and or plugin(s). You can change a theme, delete things, extend etc. Or you can make a child theme, leaving the original theme intact and overwriting default behavior in a different place. … Read more

Dynamically determine URI to scripts and styles included with a class which could be added from plugin/theme/child theme/mu plugin

For plugins it is: $plugin_url = plugin_dir_url( __FILE__ ); This works even if wp-content is on a separate domain. You may get problems if your class is in a subdirectory of the plugin – you should probably make the __FILE__ a parameter for a function: public function get_plugin_url( $base = __FILE__ ) { return plugin_dir_url( … Read more

100% Width Footer – Custom Child Theme

Looking at your code, I don’t see anything obviously wrong, but using Safari’s inspector, it becomes clear that the footer DIV is not invoking the #footer CSS rule. Not clear why. If the header div and footer div have the same styling, you can simplify your code by using one set of styles: #header, #footer … Read more

Custom link color or stylesheets

In answer (im not a theme developer) so please improve this answer In WordPress 3.4 the Theme Customiser was introduced for example in Twenty Eleven theme you have a colour wheel. Have a look at Otto’s write up on how to leverage Theme Customiser http://ottopress.com/2012/how-to-leverage-the-theme-customizer-in-your-own-themes/