I cannot figure out how to style the reset password page. And I do not mean the page where you request it, I mean the page you are shown when you click the link in the email to set your new password.
The URL is /wp-login.php?action=rp
And looks like this
And the confirmation page:
How do I load my custom styles for these?
I cannot figure out how to style the reset password page. And I do not mean the page where you request it, I mean the page you are shown when you click the link in the email to set your new password.
The URL is /wp-login.php?action=rp
And looks like this
And the confirmation page:
How do I load my custom styles for these?
Share Improve this question edited Oct 9, 2019 at 14:08 RiddleMeThis 3,8078 gold badges22 silver badges30 bronze badges asked Oct 9, 2019 at 13:36 jockebqjockebq 4631 gold badge6 silver badges18 bronze badges1 Answer
Reset to default 3You should use login_enqueue_scripts, you can load styles or scripts with it.
Example:
function login_styles() {
wp_enqueue_style( 'loginCSS', '/my-styles.css', false );
}
add_action( 'login_enqueue_scripts', 'login_styles', 10 );
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745095408a4610948.html
评论列表(0条)