Theme broken after upgrading to WordPress 4.5, missing stylesheet?

It turns out that the ThemeWoot Emulate theme registers and enqueues a common.css file with the key of common in it’s themewoot.php (which is being included in functions.php). This key is apparently conflicting with a wp-admin script being registered with the same common key, and so, instead of including Emulate’s common.css, it’s enqueuing and injecting … Read more

Why is WordPress asking me to update my new (virtually blank) theme?

In addition to having the same name, I think it checks the folder name first for updates. You should also change your folder name if you are planning to distribute publicly, or if this is private, you can exclude it from update checks: http://markjaquith.wordpress.com/2009/12/14/excluding-your-plugin-or-theme-from-update-checks/. It would still probably be better to make the names in … Read more

Question about the way that wp_register_script works

For the record this entirely the wrong thing to do. Themes should avoid (read never!) de-register the WordPress registered jQuery scripts (plug-ins should absolutely never do this). If a theme is to de-register the jquery script (to replace it) then it should re-register it properly: wp_register_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js’); Here-in lies the problem. The above is … Read more

How to know the theme name of a wordpress blog?

This method isn’t always fireproof, but you can often look at the source code (right click on white space in the blog), and look for the word “themes.” For instance, in the case of ltty.wordpress.com, this line appears: <link rel=”stylesheet” href=”http://s2.wp.com/wp-content/themes/pub/inove/style.css?m=1285721595g” type=”text/css” media=”screen” /> The theme is “inove.” A quick Google Search reveals this source: … Read more