Fix warning: Missing argument

do_action( ‘after_setup_theme’ ); doesn’t pass any parameter. You are cutting something of the length 0 after theme setup. Why? Plus, your registration with add_action doesn’t tell WordPress that you want two parameters. The default is one parameter. You don’t need this call at all. If you define the function in your functions.php it will be … Read more

What’s the easiest way of adding more options in the Theme Options of the twenty eleven theme?

As you can see in source theme makes some use of Settings API, but doesn’t include calls like do_settings_fileds() that would allow you to use add settings. I would probably try to unhook twentyeleven_theme_options_add_page() call and fork that and theme_options_render_page() to extend it with additional options. Also I think that unlike core Twenty Eleven wasn’t … Read more

What happened to my Inactive Widgets?

Inactive widgets are just normal widgets from the “Available widgets” list, which have been put in the “Inactive” section in order to keep the data they contained. What probably happened is that you dropped one of them over the “Available widgets” space and it dissapeared. But don’t worry that doesn’t mean that the widget is … Read more

Make the “Add New Post” one column for all users

This is a tricky one, there is a filter called meta-box-order_{$page} where page is the name of the post type so for post you can use: add_filter(‘meta-box-order_post’,’one_column_for_all’); function one_column_for_all($result, $option, $user){ $result[‘normal’] = ‘postexcerpt,formatdiv,submitdiv,trackbacksdiv,tagsdiv-post_tag,categorydiv,postimagediv,postcustom,commentstatusdiv,slugdiv,authordiv’; $result[‘side’] = ”; $result[‘advanced’] = ”; result $result; } this is untested!!! but should work.

Twenty Eleven NOT valid

Validation is a tricky topic. It is good to have, but it is also theoretical thing in practical world. I had checked that URL with Unicorn. It explicitly says that HTML5 checking is not considered reliable and errors are mostly attribute related (which is verrry unlikely to be an issues). CSS errors seem to be … Read more

My blog suddenly can’t find my stylesheet?

Have you changed anything in the stylesheet? WordPress looks for the header of that file to be in a specific format. http://codex.wordpress.org/Theme_Development#Theme_Stylesheet You could also check that all folders/filenames are consistent. Hopes this helps in some way – good luck!