Custom CSS for the login page
Create wp-login.css in your theme folder
function wpfme_loginCSS() {
echo '';
}
add_action('login_head', 'wpfme_loginCSS');
function wpfme_has_sidebar($classes) {
if (is_active_sidebar('sidebar')) {
// add 'class-name' to the $classes array
$classes[] = 'has_sidebar';
}
// return the $classes array
return $classes;
}
add_filter('body_class','wpfme_has_sidebar');
Call Googles HTML5 Shim, but only for users on old versions of IE
function wpfme_IEhtml5_shim () {
global $is_IE;
if ($is_IE)
echo '';
}
add_action('wp_head', 'wpfme_IEhtml5_shim');
Remove the version number of WP
Warning – this info is also available in the readme.html file in your root directory – delete this file!
remove_action('wp_head', 'wp_generator');