Created
March 5, 2020 00:14
-
-
Save someguy9/dca81b0b2ed7eeb3775d27763a8ad2d4 to your computer and use it in GitHub Desktop.
Add custom CSS to WordPress login page
This file contains 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
<?php | |
//Add custom CSS to WordPress login page | |
function smartwp_login_page_custom_css() { | |
?> | |
<style> | |
#backtoblog { | |
display: none !important; | |
} | |
</style> | |
<?php | |
} | |
add_filter ('login_enqueue_scripts', 'smartwp_login_page_custom_css'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment