Last active
September 22, 2017 23:12
-
-
Save vielhuber/81c435ecdd28bab17796 to your computer and use it in GitHub Desktop.
remove header from login page #wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_login() { | |
echo '<style type="text/css">'. | |
'#login h1, #login #nav, #login #backtoblog { display:none; }'. | |
'</style>'; | |
} | |
add_action( 'login_enqueue_scripts', 'custom_login' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment