Last Updated: February 25, 2016
·
737
· aaronjcksn

Customize your WP Login

addaction("loginhead", "myloginhead");
function myloginhead() {
echo "
<style>
body.login {background: url('".getbloginfo('templateurl')."/images/YOUR-BACKGROUND-IMAGE.jpg') repeat-x top center #62b2d5;}
body.login #login h1 a {
background: url('".getbloginfo('templateurl')."/images/YOUR-LOGO.png') no-repeat scroll center top transparent;
height: 171px;
width: 310px;
margin-left:10px;
}
.login #nav, .login #backtoblog {text-shadow:none !important;}
</style>
";
}

1 Response
Add your response

White labeling! I like it :)

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside