This hides the “Lost your password?” and “Register” links on the WordPress login page – wp-login.php
.
/** * add custom admin login CSS to hide the Lost Password and Register links */ function isa_login_css() { echo '<style type="text/css">body.login #login p#nav {display:none;}</style>'; } add_action('login_head', 'isa_login_css');
Odd-Arne
January 10th, 2014 at 9:00 am
How about if you just want to hide the register link?
vichet
December 10th, 2016 at 9:14 am
Thank you so much !!!