Skip to content

Instantly share code, notes, and snippets.

@someguy9
Created March 5, 2020 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save someguy9/dca81b0b2ed7eeb3775d27763a8ad2d4 to your computer and use it in GitHub Desktop.
Save someguy9/dca81b0b2ed7eeb3775d27763a8ad2d4 to your computer and use it in GitHub Desktop.
Add custom CSS to WordPress login page
<?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